tednaleid / sublime-EasyMotion

Sublime Text 2 plugin to quickly jump to any character in the visible area of the active view.
Apache License 2.0
386 stars 24 forks source link

Fixed issue #28; EasySelect broken before EasyMove #31

Closed DylanBruzenak closed 11 years ago

DylanBruzenak commented 11 years ago

The JumpTo command was setting self.active_view after winning_selection_from; winning_selection_from uses self.active_view when SELECT_TEXT is set. Running JumpTo normally would result in this being set so subsequent calls would work. Just reversing the two lines in easy_motion.py (:223, :224) fixes the issue.

Thanks for the great plugin!

tednaleid commented 11 years ago

+1 nice catch, thanks for the pull request!