To: vim-dev@vim.org Subject: Patch 6.0aw.005 Fcc: outbox From: Bram Moolenaar ------------ Patch 6.0aw.005 Problem: GUI: After the "buffer changed outside of Vim" dialog the cursor was not in the right position. (Robert Webb) Solution: Update the cursor by redrawing it. Files: src/ui.c *** ../vim-6.0aw/src/ui.c Sun Sep 16 22:21:07 2001 --- src/ui.c Mon Sep 17 21:47:10 2001 *************** *** 2726,2731 **** --- 2726,2738 ---- } cursor_on(); /* redrawing may have switched it off */ out_flush(); + # ifdef FEAT_GUI + if (gui.in_use) + { + gui_update_cursor(FALSE, TRUE); + gui_update_scrollbars(FALSE); + } + # endif } } #endif -- If VIM were a woman, I'd marry her. Slim, organized, helpful and beautiful; what's not to like? --David A. Rogers /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ ((( Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim ))) \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///