Esempio n. 1
0
 def on_modified(self, view):
   od_file = files.get(view.id())
   if not od_file:
     return
   cmd = view.command_history(0, True)
   if cmd[0] == 'overdrive_edit':
     return
   curr_text = odutils.get_text(view)
   od_file.set_text(curr_text)
Esempio n. 2
0
 def get_text(self):
   return odutils.get_text(self.view)