Skip to content

Commit

Permalink
fix show view after change cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
guiltry committed Mar 26, 2014
1 parent 49c6fac commit 9e74af9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions level_up.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def run(self, edit):
elif lastIndent > newIndent or beginningOfFile:
self.view.sel().clear()
self.view.sel().add(sublime.Region(self.view.text_point(row, newIndent)))
self.view.show(self.view.text_point(row, newIndent))
break
if row != 0:
row -= 1;
Expand Down

0 comments on commit 9e74af9

Please sign in to comment.