diff --git a/latextools_utils/input_quickpanel.py b/latextools_utils/input_quickpanel.py index 6f561260..fe127ec4 100644 --- a/latextools_utils/input_quickpanel.py +++ b/latextools_utils/input_quickpanel.py @@ -26,14 +26,14 @@ import sublime import sublime_plugin -exports = ["_InputQuickpanelListener", "LatextoolsConfirmQuickpanelCommand"] +exports = ["InputQuickpanelListener", "LatextoolsConfirmQuickpanelCommand"] _DO_NOTHING = 0 _SEARCH_QUICKPANEL = 1 _CAPTURE_QUICKPANEL = 2 -class _InputQuickpanelListener(sublime_plugin.EventListener): +class InputQuickpanelListener(sublime_plugin.EventListener): _capturing = _DO_NOTHING _confirmed = False _view_id = -1 @@ -107,11 +107,11 @@ def on_query_context(self, view, key, operator, operand, match_all): class LatextoolsConfirmQuickpanelCommand(sublime_plugin.WindowCommand): def run(self): - _InputQuickpanelListener.confirm_quickpanel(self.window) + InputQuickpanelListener.confirm_quickpanel(self.window) # on_done: (int/None, str) => ? def show_input_quick_panel(window, items, on_done, flags=0, selected_index=-1, on_highlight=None): - _InputQuickpanelListener.capture_and_show_input_quick_panel( + InputQuickpanelListener.capture_and_show_input_quick_panel( window, items, on_done, flags, selected_index, on_highlight )