Ejemplo n.º 1
0
 def f(view, s):
     if is_at_eol(self.view, s) and not self.view.line(s.b).empty():
         return back_one_char(s)
     else:
         return s
Ejemplo n.º 2
0
 def f(view, s):
     if is_at_eol(self.view, s) and not self.view.line(s.b).empty():
         s = back_one_char(s)
     # s = next_non_white_space_char(self.view, s.b)
     return s
Ejemplo n.º 3
0
 def f(view, s):
     if not is_on_empty_line(self.view, s) and is_at_eol(self.view, s):
         return back_one_char(s)
     else:
         return s