mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
Fix for cursor position in wrapped line with concealed text.
This commit is contained in:
parent
ffbbcb597c
commit
72ada0f8c2
@ -40,8 +40,6 @@ Add documentation for Python 3 support.
|
|||||||
New patch 2010 Jul 24
|
New patch 2010 Jul 24
|
||||||
Docs patch by Dominique Pelle, Mar 25 included?
|
Docs patch by Dominique Pelle, Mar 25 included?
|
||||||
|
|
||||||
Check position in wrapped line with 'concealcursor' set.
|
|
||||||
|
|
||||||
'undoreload' option: when fewer lines than these consider a reload as a change
|
'undoreload' option: when fewer lines than these consider a reload as a change
|
||||||
action and save the text before the reload, don't clear undo info.
|
action and save the text before the reload, don't clear undo info.
|
||||||
|
|
||||||
|
@ -4500,6 +4500,7 @@ win_line(wp, lnum, startrow, endrow, nochange)
|
|||||||
&& (int)wp->w_virtcol <= vcol + n_skip)
|
&& (int)wp->w_virtcol <= vcol + n_skip)
|
||||||
{
|
{
|
||||||
wp->w_wcol = col - boguscols;
|
wp->w_wcol = col - boguscols;
|
||||||
|
wp->w_wrow = row;
|
||||||
did_wcol = TRUE;
|
did_wcol = TRUE;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user