Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions SublimeBlockCursor.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


class SublimeBlockCursor(sublime_plugin.EventListener):
def view_is_widget(view):
def view_is_widget(self, view):
settings = view.settings()
return bool(settings.get('is_widget'))

Expand All @@ -22,7 +22,7 @@ def on_selection_modified(self, view):
is_vintage_mode = "Vintage" not in view.settings().get('ignored_packages', [])
command_mode = view.settings().get('command_mode')

if view_is_widget(view) or (is_vintage_mode and not command_mode):
if self.view_is_widget(view) or (is_vintage_mode and not command_mode):
view.erase_regions('SublimeBlockCursorListener')
return

Expand Down