Exemplo n.º 1
0
 def on_selection_modified(self, view):
   point = odutils.get_selection_point(view)
   if point is None:
     return
   od_file = files.get(view.id())
   if not od_file:
     return
   od_file.set_selection(point)
Exemplo n.º 2
0
 def get_index(self):
   return odutils.get_selection_point(self.view)