Skip to content

IndexError: list index out of range #14

@Niaw

Description

@Niaw

Hey,
Thanks for your work.
First time using it, installed with Package Control in Sublime Text 4169.
In Windows, when using Ctrl+Shift+C :

key evt: shift+ctrl+c
command: toggle_fold_comments
Traceback (most recent call last):
  File "C:\Program Files\Sublime Text\Lib\python33\sublime_plugin.py", line 1499, in run_
    return self.run(edit)
  File "C:\Users\XXXX\AppData\Roaming\Sublime Text\Installed Packages\Fold Comments.sublime-package\foldcomments.py", line 173, in run
  File "C:\Users\XXXX\AppData\Roaming\Sublime Text\Installed Packages\Fold Comments.sublime-package\foldcomments.py", line 164, in toggle_folding
  File "C:\Users\XXXX\AppData\Roaming\Sublime Text\Installed Packages\Fold Comments.sublime-package\foldcomments.py", line 162, in is_folded
IndexError: list index out of range

Same result from Command Palette, and comments are not hided with the key binding or the command palette.
Thanks.

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