Skip to content

Not select text inside a tag #51

@Kristinita

Description

@Kristinita

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions