tednaleid / sublime-EasyMotion

Sublime Text 2 plugin to quickly jump to any character in the visible area of the active view.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

easySelect broken unless easyMove is executed beforehand

AllanLRH opened this issue · comments

I've noticed this a couple of times when starting the editor... when i press me keyboard shortcut to select text up to a specific character, the character i punch in on the keyboard gets highlighted all right, but when i press a character to select which of the highlighted characters I would like to jump to, nothing happens (and the characters remain highlighted). I did get this error message though (from the console):

Traceback (most recent call last):
  File "./sublime_plugin.py", line 337, in run_
  File "./easy_motion.py", line 223, in run
  File "./easy_motion.py", line 238, in winning_selection_from
AttributeError: 'JumpTo' object has no attribute 'active_view'

If I use the regular easymotion move (easyMove) before easySelect, easySelect works just fine (and there is no error messages in the console either, in case you wondered).

This is my selected characters for "jumping" (bug exists for ascii characters as well):

"placeholder_chars" :     "abcdefghijklmnopqrstuvwxyzæøå01234567890ABCDEFGHIJKLMNOPQRSTUVWXYZÆØÅ\"\\/'([{<>}]).,:;+-*=!#@%&?´`^_·–€£$  "

fixed by #31