diff --git a/CoalaBackground.py b/CoalaBackground.py index 8033221..b731aa8 100644 --- a/CoalaBackground.py +++ b/CoalaBackground.py @@ -3,7 +3,7 @@ from .Utils import log, COALA_KEY -class CoalaBackground(sublime_plugin.EventListener): +class coalaBackground(sublime_plugin.EventListener): def on_selection_modified(self, view): """ diff --git a/CoalaCommand.py b/CoalaCommand.py index e97d071..af58fbb 100644 --- a/CoalaCommand.py +++ b/CoalaCommand.py @@ -1,7 +1,7 @@ import sublime_plugin import sublime import json -from .CoalaThread import CoalaThread +from .coalaThread import coalaThread from .Utils import log, COALA_KEY @@ -26,9 +26,9 @@ def show_output(view): view.add_regions(COALA_KEY, regions, COALA_KEY, "dot", region_flag) -class CoalaCommand(sublime_plugin.TextCommand): +class coalaCommand(sublime_plugin.TextCommand): """ - The CoalaCommand inherits the TextCommand from sublime_plugin and can be + The coalaCommand inherits the TextCommand from sublime_plugin and can be executed using `view.run_command("coala")` - which executes the `run()` function by default. """ @@ -37,7 +37,7 @@ def run(self, edit, **kwargs): file_name = self.view.file_name() log("Trying to run coala on", file_name) if file_name: - thread = CoalaThread(self.view, show_output) + thread = coalaThread(self.view, show_output) thread.start() self.progress_tracker(thread) else: diff --git a/CoalaThread.py b/CoalaThread.py index 008d202..34e353f 100644 --- a/CoalaThread.py +++ b/CoalaThread.py @@ -10,7 +10,7 @@ from .Utils import log, COALA_KEY -class CoalaThread(threading.Thread): +class coalaThread(threading.Thread): def __init__(self, view,