comparison src/screen.c @ 9446:aaa6639b6f14 v7.4.2004

commit https://github.com/vim/vim/commit/65549bdef5805ba5a18a3d2d3909998dd7d9ed46 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jul 8 22:52:37 2016 +0200 patch 7.4.2004 Problem: GUI: cursor displayed in the wrong position. Solution: Correct screen_cur_col and screen_cur_row.
author Christian Brabandt <cb@256bit.org>
date Fri, 08 Jul 2016 23:00:06 +0200
parents e08c8502d7ce
children c5f40fc2e3e0
comparison
equal deleted inserted replaced
9445:66a87d6f2aa1 9446:aaa6639b6f14
762 /* Put the GUI position where the cursor was, gui_update_cursor() 762 /* Put the GUI position where the cursor was, gui_update_cursor()
763 * uses that. */ 763 * uses that. */
764 gui.col = gui_cursor_col; 764 gui.col = gui_cursor_col;
765 gui.row = gui_cursor_row; 765 gui.row = gui_cursor_row;
766 gui_update_cursor(FALSE, FALSE); 766 gui_update_cursor(FALSE, FALSE);
767 screen_cur_col = gui.col;
768 screen_cur_row = gui.row;
767 } 769 }
768 gui_update_scrollbars(FALSE); 770 gui_update_scrollbars(FALSE);
769 } 771 }
770 #endif 772 #endif
771 } 773 }