Ejemplo n.º 1
0
 def show_input_panel(self, caption, initial_text, on_done, on_change,
                      on_cancel):
     """ on_done and on_change should accept a string argument, on_cancel should have no arguments """
     return View(
         sublime_api.window_show_input_panel(self.window_id, caption,
                                             initial_text, on_done,
                                             on_change, on_cancel))
Ejemplo n.º 2
0
 def show_input_panel(self, caption, initial_text, on_done, on_change, on_cancel):
     """ on_done and on_change should accept a string argument, on_cancel should have no arguments """
     return View(sublime_api.window_show_input_panel(self.window_id,
         caption, initial_text, on_done, on_change, on_cancel))