Skip to content

random IndexErrors while editing text #213

@slice

Description

@slice

I've triggered this bug multiple times (I'd say over 10 times) over multiple days. I don't know how to trigger it, as it happens randomly while I'm editing text. It puts Six into an unstable state that can only be restored after a full restart.

Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 462, in run_callback
    expr()
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 552, in <lambda>
    run_callback('on_post_save', callback, lambda: callback.on_post_save(v))
  File "D:/a/1/six-release\commands\events\event_sync_mode.py", line 167, in on_post_save
  File "D:/a/1/six-release\lib\command_state.py", line 802, in active_mode
IndexError: list index out of range
Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 757, in on_post_text_command
    callback.on_post_text_command(v, name, args)
  File "D:/a/1/six-release\commands\events\event_mouse.py", line 41, in on_post_text_command
  File "D:/a/1/six-release\lib\command_state.py", line 802, in active_mode
IndexError: list index out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions