Skip to content

Commit

Permalink
Merge pull request #1909 from SublimeLinter/sane-command-names
Browse files Browse the repository at this point in the history
  • Loading branch information
kaste committed Jun 1, 2023
2 parents 1279a90 + 37371db commit b911d59
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion highlight_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,7 @@ def on_hover(self, view, point, hover_zone):
open_tooltip(view, point, line_report=False)


class SublimeLinterLineReportCommand(sublime_plugin.WindowCommand):
class sublime_linter_line_report(sublime_plugin.WindowCommand):
def run(self):
view = self.window.active_view()
if not view:
Expand Down
4 changes: 2 additions & 2 deletions message_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def plugin_unloaded():
window.destroy_output_panel(PANEL_NAME)


class SublimeLinterDisplayPanelCommand(sublime_plugin.WindowCommand):
class sublime_linter_display_panel(sublime_plugin.WindowCommand):
def run(self, msg=""):
window = self.window

Expand All @@ -37,7 +37,7 @@ def run(self, msg=""):
window.run_command("show_panel", {"panel": OUTPUT_PANEL})


class SublimeLinterRemovePanelCommand(sublime_plugin.WindowCommand):
class sublime_linter_remove_panel(sublime_plugin.WindowCommand):
def run(self):
self.window.destroy_output_panel(PANEL_NAME)

Expand Down
2 changes: 1 addition & 1 deletion panel_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def toggle_panel_if_errors(window, filenames):
window.run_command("hide_panel", {"panel": OUTPUT_PANEL})


class SublimeLinterPanelToggleCommand(sublime_plugin.WindowCommand):
class sublime_linter_panel_toggle(sublime_plugin.WindowCommand):
def run(self):
if panel_is_active(self.window):
self.window.run_command("hide_panel", {"panel": OUTPUT_PANEL})
Expand Down
2 changes: 1 addition & 1 deletion sublime_linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def on_settings_changed(settings, **kwargs):
)


class SublimeLinterReloadCommand(sublime_plugin.WindowCommand):
class sublime_linter_reload(sublime_plugin.WindowCommand):
def run(self):
log_handler.uninstall()
try:
Expand Down

0 comments on commit b911d59

Please sign in to comment.