def panel_done(self, picked): if 0 > picked < len(self.items): return LOCATION_CACHE.appendCurrentLocation() sublime.active_window().open_file( IndexLine(self.items[picked]).selected_file_name(), sublime.ENCODED_POSITION)
def panel_done(self, picked): if 0 > picked < len(self.items): return LOCATION_CACHE.appendCurrentLocation() sublime.active_window().open_file(IndexLine(self.items[picked]).selected_file_name(), sublime.ENCODED_POSITION)
def run(self): sublime.active_window().open_file(LOCATION_CACHE.pop(), sublime.ENCODED_POSITION)