Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: startup exception due to no selection
Traceback (most recent call last): File "C:\Program Files\Sublime Text\Lib\python33\sublime_plugin.py", line 944, in on_activated_async run_view_callbacks('on_activated_async', view_id) File "C:\Program Files\Sublime Text\Lib\python33\sublime_plugin.py", line 708, in run_view_callbacks callback(v, *args) File "C:\Program Files\Sublime Text\Lib\python33\sublime_plugin.py", line 190, in exception_handler return event_handler(*args) File "C:\Users\User\AppData\Roaming\Sublime Text\Installed Packages\HyperClick.sublime-package\hyper_click_annotator.py", line 105, in on_activated_async self.on_selection_modified_async(view) File "C:\Program Files\Sublime Text\Lib\python33\sublime_plugin.py", line 190, in exception_handler return event_handler(*args) File "C:\Users\User\AppData\Roaming\Sublime Text\Installed Packages\HyperClick.sublime-package\hyper_click_annotator.py", line 102, in on_selection_modified_async self.annotate(point, view) File "C:\Users\User\AppData\Roaming\Sublime Text\Installed Packages\HyperClick.sublime-package\hyper_click_annotator.py", line 49, in annotate matched = self.is_valid_line(line_content, view) File "C:\Users\User\AppData\Roaming\Sublime Text\Installed Packages\HyperClick.sublime-package\hyper_click_annotator.py", line 17, in is_valid_line if view.match_selector(view.sel()[0].b, selector): File "C:\Program Files\Sublime Text\Lib\python33\sublime.py", line 1044, in __getitem__ raise IndexError() IndexError Signed-off-by: Jack Cherng <[email protected]>
- Loading branch information