CodeComplice icon indicating copy to clipboard operation
CodeComplice copied to clipboard

Not select text inside a tag

Open Kristinita opened this issue 9 years ago • 0 comments

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

  • Operating system and version:
    • [√] Windows 10 Education
    • [ ] Mac OS ...
    • [ ] Linux ...
  • Sublime Text:
    • Build 3114

Kristinita avatar Jul 21 '16 14:07 Kristinita