liamcain / AutoFileName

Sublime Text plugin that autocompletes filenames
515 stars 78 forks source link

IndexError when a selection is modified #75

Open JeNeSuisPasDave opened 9 years ago

JeNeSuisPasDave commented 9 years ago

Using v2014.01.13.07.57.49.

If I select some text and then modify the selection (e.g. prettify some HTML), I see this exception in the Console:

Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 295, in on_selection_modified_async
    callback.on_selection_modified_async(v)
  File "autofilename in /Users/datihein/Library/Application Support/Sublime Text 3/Installed Packages/AutoFileName.sublime-package", line 171, in on_selection_modified_async
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime.py", line 492, in __getitem__
    raise IndexError()
IndexError