Skip to content
This repository was archived by the owner on Apr 2, 2019. It is now read-only.

Commit 08bcec8

Browse files
committed
Use proper namespace
1 parent 006bc73 commit 08bcec8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

plugin.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ def update_statusbar(self, view, force=False):
6161
self.view_line[view_id] = line
6262
error = self.view_cache.get(view_id, {}).get(line, None)
6363
if error:
64-
view.set_status('python-lint-problem', error)
64+
view.set_status('python-checker-problem', error)
6565
else:
66-
view.erase_status('python-lint-problem')
66+
view.erase_status('python-checker-problem')
6767

6868
def get_selected_line(self, view):
6969
selection = view.sel()
@@ -105,7 +105,7 @@ def get_style_problems(self, source, filename):
105105
return checker.report.problems
106106

107107
def highlight_problems(self, view, problems):
108-
view.erase_regions('python-lint-problem')
108+
view.erase_regions('python-checker-problem')
109109
view_id = view.id()
110110
self.view_cache[view_id] = {}
111111
regions = []
@@ -116,5 +116,5 @@ def highlight_problems(self, view, problems):
116116
regions.append(region)
117117
style = (sublime.DRAW_NO_FILL | sublime.DRAW_NO_OUTLINE |
118118
sublime.DRAW_SQUIGGLY_UNDERLINE)
119-
view.add_regions('python-lint-problem', regions, 'invalid',
120-
'Packages/PythonChecker/images/marker.png', style)
119+
view.add_regions('python-checker-problem', regions, 'invalid',
120+
'Packages/Python Checker/images/marker.png', style)

0 commit comments

Comments
 (0)