You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Visually selecting from the bottom up, while wordwrap is on, and then unselecting still leaves the appearance of selected text if the last displayed line extends beyond the length of the window.
Scroll to bottom, move cursor to last character. Using v, enter visual mode and select from the bottom of the file to the top. Scroll to top, select to first character. Last line should extend beyond the length of the screen.
Unselect using <Esc>
Observe artifact (Done)
<C-L> to clear
Expected behavior
Appearance of selection should not be there
Screenshots
Environment (please complete the following information):
Confirmed on multiple:
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Feb 22 2019 19:03:04)
Included patches: 1-503, 505-680, 682-1283
MacVim Custom Version 8.1.950 (155)
NVIM v0.3.4
MacOS 10.14.5
MacOS Terminal Version 2.9.5 (421.2)
The text was updated successfully, but these errors were encountered:
kevinlawler
changed the title
long lines and wrap visually
long wrapped line at bottom won't visually unselect
May 30, 2019
Some pieces are missing. At least need to set 'display' to "lastline".
Please start with "vim --clean".
Also mention how you move to the position where you start Visual mode (for me it makes the whole line appear).
Describe the bug
Visually selecting from the bottom up, while wordwrap is on, and then unselecting still leaves the appearance of selected text if the last displayed line extends beyond the length of the window.
To Reproduce
:set wrap
:set display+=lastline
:set lines=25
:set columns=69
v
, enter visual mode and select from the bottom of the file to the top. Scroll to top, select to first character. Last line should extend beyond the length of the screen.<Esc>
<C-L>
to clearExpected behavior
Appearance of selection should not be there
Screenshots
Environment (please complete the following information):
Confirmed on multiple:
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Feb 22 2019 19:03:04)
Included patches: 1-503, 505-680, 682-1283
MacVim Custom Version 8.1.950 (155)
NVIM v0.3.4
The text was updated successfully, but these errors were encountered: