Skip to content

Commit 67d6d43

Browse files
committed
Fix _InputQuickpanelListener name
ST4 ignores all protected module attributes (prepended with underscore).
1 parent 4ae3594 commit 67d6d43

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

latextools_utils/input_quickpanel.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@
2626
import sublime
2727
import sublime_plugin
2828

29-
exports = ["_InputQuickpanelListener", "LatextoolsConfirmQuickpanelCommand"]
29+
exports = ["InputQuickpanelListener", "LatextoolsConfirmQuickpanelCommand"]
3030

3131
_DO_NOTHING = 0
3232
_SEARCH_QUICKPANEL = 1
3333
_CAPTURE_QUICKPANEL = 2
3434

3535

36-
class _InputQuickpanelListener(sublime_plugin.EventListener):
36+
class InputQuickpanelListener(sublime_plugin.EventListener):
3737
_capturing = _DO_NOTHING
3838
_confirmed = False
3939
_view_id = -1
@@ -107,11 +107,11 @@ def on_query_context(self, view, key, operator, operand, match_all):
107107

108108
class LatextoolsConfirmQuickpanelCommand(sublime_plugin.WindowCommand):
109109
def run(self):
110-
_InputQuickpanelListener.confirm_quickpanel(self.window)
110+
InputQuickpanelListener.confirm_quickpanel(self.window)
111111

112112

113113
# on_done: (int/None, str) => ?
114114
def show_input_quick_panel(window, items, on_done, flags=0, selected_index=-1, on_highlight=None):
115-
_InputQuickpanelListener.capture_and_show_input_quick_panel(
115+
InputQuickpanelListener.capture_and_show_input_quick_panel(
116116
window, items, on_done, flags, selected_index, on_highlight
117117
)

0 commit comments

Comments
 (0)