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

don't highlight offscreen characters

therik opened this issue · comments

When I disable wrap and have some long lines, lot of those 62 placeholders get wasted on characters on the right which I don't even see on the screen.

There's unfortunately no support in ST2/ST3 for what's in the "visible area" in a horizontal sense. It only tells you what lines are within the visible area so figuring out exactly what characters are visible if you don't have line wrapping on is very difficult/impossible. I also work without line wrapping on, but for most files I edit, the vast majority of characters are visible on the screen and I still get jump targets to at least some of them when trying to use EasyMotion.

The only situation I've hit where it "breaks" is when I'm editing something like a JS file that's been minified down to a single line, but in that case I can use other movement techniques to get to the character I want pretty efficiently.