Permalink
Browse files

details

  • Loading branch information...
1 parent afe3185 commit dbf7608a888fae2f4c6fcd78c96669aa3e60ae55 Dominique Wahli committed Nov 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 smart_cursor.py
View
2 smart_cursor.py
@@ -47,7 +47,7 @@ def get_new_sel(self, forward=None):
if self.view.substr(line_end_pos) != '\n' and \
(self.view.text_to_layout(caret_pos)[1] == self.view.text_to_layout(line_end_pos)[1]) and \
(forward is True):
- newpos = sublime.Region(sel.a, sel.b)
+ newpos = sel
else:
newpos = sublime.Region(sel.a, sel.b, xpos)
new_sel.append(newpos)

0 comments on commit dbf7608

Please sign in to comment.