summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-07-24 17:39:52 +0200
committerBram Moolenaar <Bram@vim.org>2010-07-24 17:39:52 +0200
commit72ada0f8c2655e365d9284bcc9243e29e5951f04 (patch)
tree76142fc4359fc794e785c924cec6c04f427def9a
parentffbbcb597c2626224594bc1a2ac1aa7f77539fcc (diff)
downloadvim-72ada0f8c2655e365d9284bcc9243e29e5951f04.zip
Fix for cursor position in wrapped line with concealed text.
-rw-r--r--runtime/doc/todo.txt2
-rw-r--r--src/screen.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index 119ec99f7..acbacb5e6 100644
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -40,8 +40,6 @@ Add documentation for Python 3 support.
New patch 2010 Jul 24
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
action and save the text before the reload, don't clear undo info.
diff --git a/src/screen.c b/src/screen.c
index e7c3ad266..2106d90a0 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -4500,6 +4500,7 @@ win_line(wp, lnum, startrow, endrow, nochange)
&& (int)wp->w_virtcol <= vcol + n_skip)
{
wp->w_wcol = col - boguscols;
+ wp->w_wrow = row;
did_wcol = TRUE;
}
#endif