ST3 support/bugfix (close #1)
This commit is contained in:
parent
ee312277e6
commit
36f90560f4
|
@ -56,11 +56,11 @@ def highlight_whitespaces(view):
|
||||||
if view.size() <= max_size and not is_find_results(view):
|
if view.size() <= max_size and not is_find_results(view):
|
||||||
space_regions = find_whitespaces_spaces(view)
|
space_regions = find_whitespaces_spaces(view)
|
||||||
view.add_regions('WhitespacesHighlightListener',
|
view.add_regions('WhitespacesHighlightListener',
|
||||||
space_regions, space_scope_name,
|
space_regions, space_scope_name, '',
|
||||||
sublime.DRAW_EMPTY)
|
sublime.DRAW_EMPTY)
|
||||||
tab_regions = find_whitespaces_tabs(view)
|
tab_regions = find_whitespaces_tabs(view)
|
||||||
view.add_regions('WhitespacesHighlightListener2',
|
view.add_regions('WhitespacesHighlightListener2',
|
||||||
tab_regions, tab_scope_name,
|
tab_regions, tab_scope_name, '',
|
||||||
sublime.DRAW_EMPTY)
|
sublime.DRAW_EMPTY)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user