andreikop / enki

A text editor for programmers
http://enki-editor.org
GNU General Public License v2.0
161 stars 39 forks source link

Support line numbers #300

Closed andreikop closed 8 years ago

andreikop commented 8 years ago

I typed LME in FuzzyLocator, it showed the correct file. I continued: LME 23 meaning "Open 23'th line of this file". The file disappeared. I pressed Enter:

Traceback (most recent call last):
  File "/mnt/src/git/enki/bin/../enki/plugins/fuzzyopen/fuzzyopen.py", line 180, in _onEnter
    path = self._model.path(index)
  File "/mnt/src/git/enki/bin/../enki/plugins/fuzzyopen/fuzzyopen.py", line 125, in path
    return self._items[index.row()][0]
IndexError: list index out of range

By @vi

andreikop commented 8 years ago

Done