From 72ada0f8c2655e365d9284bcc9243e29e5951f04 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 24 Jul 2010 17:39:52 +0200 Subject: [PATCH] Fix for cursor position in wrapped line with concealed text. --- runtime/doc/todo.txt | 2 -- src/screen.c | 1 + 2 files changed, 1 insertion(+), 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 -- 2.50.1