spectacles / CodeComplice

CodeIntel for Sublime Text 2 / 3
Other
167 stars 18 forks source link

Not select text inside a tag #51

Open Kristinita opened 8 years ago

Kristinita commented 8 years ago

The problem appears when I established CodeComplice. When I delete CodeComplice, the problem isn't present. Thanks.

Summary

Bug to

{ "keys": ["ctrl+shift+a"], "command": "expand_selection", "args": {"to": "tag"} },

Expected behavior

Select text inside a tag

Actual behavior

Occurs nothing

Steps to reproduce

Ctrl+Shift+A:

key evt: shift+control+a
command: expand_selection {"to": "tag"}
Traceback (most recent call last):
  File "E:\Sublime Text 3\sublime_plugin.py", line 231, in run_callback
    expr()
  File "E:\Sublime Text 3\sublime_plugin.py", line 314, in <lambda>
    run_callback('on_selection_modified', callback, lambda: callback.on_selection_modified(v))
  File "E:\Sublime Text 3\Data\Packages\CodeComplice\CodeComplice.py", line 1598, in on_selection_modified
    rowcol = view.rowcol(view_sel[0].end())
  File "E:\Sublime Text 3\sublime.py", line 538, in __getitem__
    raise IndexError()
IndexError

Environment