Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 291 by [email protected]: Unicode showbreak character causes
mispositioned cursor
https://code.google.com/p/vim/issues/detail?id=291
What steps will reproduce the problem?
1. :set showbreak=ยป
2. Edit a file with long lines.
3. Use 'w' to move the cursor onto the wrapped part of a long line.
What is the expected output? What do you see instead?
Expected: Cursor skips the showbreak correctly.
Seen: It looks as if the cursor skips by as many characters as there are
bytes in the internal representation of the showbreak value. The more lines
the text is wrapped over, the worse the offset gets.
So while the cursor is actually moved to the correct position by typing 'w'
each time, it is shown 1 character to the right of its actual position.
This makes editing surprisingly difficult.
What version of the product are you using? On what operating system?
Vim 7.4 with patches 1-207, 209-475, as bundled with Fedora 20.
Screenshot shows a multiply-wrapped long line *with no whitespace at the
end*, after typing '$' to send the cursor to the end of the line.
Attachments:
vimbug-nq8.png 10.2 KB
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.