From 1f700e6bbf27c26b884e043b6c3bd51c593e7e79 Mon Sep 17 00:00:00 2001 From: Tito Date: Sat, 30 Jan 2016 04:26:02 -0300 Subject: [PATCH] fixed on core --- Dictionaries.py | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/Dictionaries.py b/Dictionaries.py index a4a0a31..49bec02 100644 --- a/Dictionaries.py +++ b/Dictionaries.py @@ -43,17 +43,4 @@ def on_done(i): self.window.show_quick_panel(items, on_done) -class FixBug268And295Command(sublime_plugin.EventListener): - - def on_post_text_command(self, view, command_name, args): - if command_name == "ignore_word" and not 'ignore' in args: - if args['word'] == '': - view = sublime.active_window().active_view() - args['word'] = view.substr(view.word(view.sel()[0].a)) - view.run_command("ignore_word", {"word": args['word'], 'ignore':True}) - s = sublime.load_settings("Preferences.sublime-settings") - ignored_words = s.get("ignored_words", []) - ignored_words.append(args['word']) - s.set("ignored_words", list(set(ignored_words))) - view.settings().set("ignored_words", list(set(ignored_words))) - sublime.save_settings("Preferences.sublime-settings") \ No newline at end of file +