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 / 6.0.137 < prev    next >
Encoding:
Internet Message Format  |  2002-01-14  |  2.1 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.137
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.0.137
  11. Problem:    GUI: When using the find or find/replace dialog from Insert mode, 
  12.             the input mode is stopped.
  13. Solution:   Don't use the input method status when the main window doesn't
  14.             have focus. 
  15. Files:      src/ui.c 
  16.  
  17.  
  18. *** ../vim60.136/src/ui.c    Mon Dec 31 15:35:23 2001
  19. --- src/ui.c    Tue Jan 15 19:42:02 2002
  20. ***************
  21. *** 2754,2763 ****
  22.        * disabled then (but might start later).
  23.        * Also don't save when inside a mapping, vgetc_im_active has not been set
  24.        * then.
  25. !      * And don't save when the keys were stuffed (e.g., for a "." command). */
  26.       if (!p_imdisable && KeyTyped && !KeyStuffed
  27.   # ifdef FEAT_XIM
  28.           && xic != NULL
  29.   # endif
  30.       )
  31.       {
  32. --- 2754,2768 ----
  33.        * disabled then (but might start later).
  34.        * Also don't save when inside a mapping, vgetc_im_active has not been set
  35.        * then.
  36. !      * And don't save when the keys were stuffed (e.g., for a "." command).
  37. !      * And don't save when the GUI is running but our window doesn't have
  38. !      * input focus (e.g., when a find dialog is open). */
  39.       if (!p_imdisable && KeyTyped && !KeyStuffed
  40.   # ifdef FEAT_XIM
  41.           && xic != NULL
  42. + # endif
  43. + # ifdef FEAT_GUI
  44. +         && (!gui.in_use || gui.in_focus)
  45.   # endif
  46.       )
  47.       {
  48. *** ../vim60.136/src/version.c    Tue Jan 15 19:48:49 2002
  49. --- src/version.c    Tue Jan 15 19:48:43 2002
  50. ***************
  51. *** 608,609 ****
  52. --- 608,611 ----
  53.   {   /* Add new patch number below this line */
  54. + /**/
  55. +     137,
  56.   /**/
  57.  
  58. -- 
  59. The process for understanding customers primarily involves sitting around with
  60. other marketing people and talking about what you would to if you were dumb
  61. enough to be a customer.
  62.                 (Scott Adams - The Dilbert principle)
  63.  
  64.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  65. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  66.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  67.