mawww / kakoune

mawww's experiment for a better code editor

Home Page:http://kakoune.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

goto and view keybindings don't work properly when there is a wrap highlighter [BUG]

QiBaobin opened this issue · comments

commented

Version of Kakoune

master branch

Reproducer

run :add-highlighter global/ wrap -word, then open a file contains some very long lines. Go to one of those line,
run gc, gb, vc, vb etc.

Outcome

most of those key bindings don't work visually

Expectations

wrap lines are treated like real lines for those modes?

Additional information

Mac OSX, and use master branch.

This is the same underlying problem as #3919 and #1517.

That is, word wrapping happens downstream of Kakoune's calculations about what is visible on-screen.

commented

cool, let me close this one.