comparison src/screen.c @ 2393:210a5605e126 vim73

Fix for cursor position in wrapped line with concealed text.
author Bram Moolenaar <bram@vim.org>
date Sat, 24 Jul 2010 17:39:52 +0200
parents 0371401d9d33
children e6f1424dd66a
comparison
equal deleted inserted replaced
2392:0371401d9d33 2393:210a5605e126
4498 && wp == curwin && lnum == wp->w_cursor.lnum 4498 && wp == curwin && lnum == wp->w_cursor.lnum
4499 && conceal_cursor_line(wp) 4499 && conceal_cursor_line(wp)
4500 && (int)wp->w_virtcol <= vcol + n_skip) 4500 && (int)wp->w_virtcol <= vcol + n_skip)
4501 { 4501 {
4502 wp->w_wcol = col - boguscols; 4502 wp->w_wcol = col - boguscols;
4503 wp->w_wrow = row;
4503 did_wcol = TRUE; 4504 did_wcol = TRUE;
4504 } 4505 }
4505 #endif 4506 #endif
4506 4507
4507 /* Don't override visual selection highlighting. */ 4508 /* Don't override visual selection highlighting. */