home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / unreleased / patches / 6.0aw.005 < prev    next >
Encoding:
Internet Message Format  |  2001-09-16  |  1.0 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0aw.005
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. ------------
  6.  
  7. Patch 6.0aw.005
  8. Problem:    GUI: After the "buffer changed outside of Vim" dialog the cursor
  9.         was not in the right position. (Robert Webb)
  10. Solution:   Update the cursor by redrawing it.
  11. Files:        src/ui.c
  12.  
  13.  
  14. *** ../vim-6.0aw/src/ui.c    Sun Sep 16 22:21:07 2001
  15. --- src/ui.c    Mon Sep 17 21:47:10 2001
  16. ***************
  17. *** 2726,2731 ****
  18. --- 2726,2738 ----
  19.       }
  20.       cursor_on();        /* redrawing may have switched it off */
  21.       out_flush();
  22. + # ifdef FEAT_GUI
  23. +     if (gui.in_use)
  24. +     {
  25. +         gui_update_cursor(FALSE, TRUE);
  26. +         gui_update_scrollbars(FALSE);
  27. +     }
  28. + # endif
  29.       }
  30.   }
  31.   #endif
  32.  
  33.  
  34. -- 
  35. If VIM were a woman, I'd marry her.  Slim, organized, helpful
  36. and beautiful; what's not to like?     --David A. Rogers
  37.  
  38.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  39. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  40.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  41.