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 / patches / 7.4 / 7.4.494 < prev    next >
Encoding:
Internet Message Format  |  2014-11-05  |  1.9 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.494
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.4.494
  11. Problem:    Cursor shape is wrong after a CompleteDone autocommand.
  12. Solution:   Update the cursor and mouse shape after ":normal" restores the
  13.         state. (Jacob Niehus)
  14. Files:        src/ex_docmd.c
  15.  
  16.  
  17. *** ../vim-7.4.493/src/ex_docmd.c    2014-10-21 20:01:54.986287762 +0200
  18. --- src/ex_docmd.c    2014-11-05 09:37:05.829176795 +0100
  19. ***************
  20. *** 9526,9533 ****
  21.       msg_didout |= save_msg_didout;    /* don't reset msg_didout now */
  22.   
  23.       /* Restore the state (needed when called from a function executed for
  24. !      * 'indentexpr'). */
  25.       State = save_State;
  26.   #ifdef FEAT_MBYTE
  27.       vim_free(arg);
  28.   #endif
  29. --- 9526,9540 ----
  30.       msg_didout |= save_msg_didout;    /* don't reset msg_didout now */
  31.   
  32.       /* Restore the state (needed when called from a function executed for
  33. !      * 'indentexpr'). Update the mouse and cursor, they may have changed. */
  34.       State = save_State;
  35. + #ifdef FEAT_MOUSE
  36. +     setmouse();
  37. + #endif
  38. + #ifdef CURSOR_SHAPE
  39. +     ui_cursor_shape();        /* may show different cursor shape */
  40. + #endif
  41.   #ifdef FEAT_MBYTE
  42.       vim_free(arg);
  43.   #endif
  44. *** ../vim-7.4.493/src/version.c    2014-10-31 19:51:33.014698055 +0100
  45. --- src/version.c    2014-11-05 09:51:06.261156543 +0100
  46. ***************
  47. *** 743,744 ****
  48. --- 743,746 ----
  49.   {   /* Add new patch number below this line */
  50. + /**/
  51. +     494,
  52.   /**/
  53.  
  54. -- 
  55. Q:   How many hardware engineers does it take to change a lightbulb?
  56. A:   None.  We'll fix it in software.
  57.  
  58.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  59. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  60. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  61.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  62.