From c8867c43ed328a8e6ed825e8663d7f93a08e47bf Mon Sep 17 00:00:00 2001 From: Raoul Wols Date: Mon, 2 Dec 2019 20:24:05 +0100 Subject: [PATCH] Remove LspUpdatePanelCommand It is no longer used. --- plugin/core/panels.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/plugin/core/panels.py b/plugin/core/panels.py index f4161efb9..f115a50d2 100644 --- a/plugin/core/panels.py +++ b/plugin/core/panels.py @@ -58,19 +58,3 @@ def create_panel(window: sublime.Window, name: str, result_file_regex: str, resu def ensure_panel(window: sublime.Window, name: str, result_file_regex: str, result_line_regex: str, syntax: str) -> 'Optional[sublime.View]': return window.find_output_panel(name) or create_panel(window, name, result_file_regex, result_line_regex, syntax) - - -class LspUpdatePanelCommand(sublime_plugin.TextCommand): - """ - A update_panel command to update the error panel with new text. - """ - - def run(self, edit: sublime.Edit, characters: 'Optional[str]' = "") -> None: - # Clear folds - self.view.unfold(sublime.Region(0, self.view.size())) - - self.view.replace(edit, sublime.Region(0, self.view.size()), characters or "") - - # Clear the selection - selection = self.view.sel() - selection.clear()