0
0
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:
Bram Moolenaar 2010-07-24 17:39:52 +02:00
parent ffbbcb597c
commit 72ada0f8c2
2 changed files with 1 additions and 2 deletions

View File

@ -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.

View File

@ -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