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.1.037 < prev    next >
Encoding:
Internet Message Format  |  2002-04-27  |  2.4 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.037
  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.1.037
  11. Problem:    When 'lazyredraw' is set, pressing "q" at the hit-enter prompt
  12.         causes an incomplete redraw and the cursor isn't positioned.
  13.         (Lubomir Host)
  14. Solution:   Overrule 'lazyredraw' when do_redraw is set.
  15. Files:        src/main.c, src/screen.c
  16.  
  17.  
  18. *** ../vim61.036/src/main.c    Tue Apr 23 22:08:09 2002
  19. --- src/main.c    Tue Apr 23 22:37:52 2002
  20. ***************
  21. *** 1983,1993 ****
  22.           emsg_on_display = FALSE;    /* can delete error message now */
  23.           did_emsg = FALSE;
  24.           msg_didany = FALSE;        /* reset lines_left in msg_start() */
  25. -         do_redraw = FALSE;
  26.           showruler(FALSE);
  27.   
  28.           setcursor();
  29.           cursor_on();
  30.       }
  31.   #ifdef FEAT_GUI
  32.       if (need_mouse_correct)
  33. --- 1983,1994 ----
  34.           emsg_on_display = FALSE;    /* can delete error message now */
  35.           did_emsg = FALSE;
  36.           msg_didany = FALSE;        /* reset lines_left in msg_start() */
  37.           showruler(FALSE);
  38.   
  39.           setcursor();
  40.           cursor_on();
  41. +         do_redraw = FALSE;
  42.       }
  43.   #ifdef FEAT_GUI
  44.       if (need_mouse_correct)
  45. *** ../vim61.036/src/screen.c    Tue Apr 23 21:59:06 2002
  46. --- src/screen.c    Tue Apr 23 20:24:48 2002
  47. ***************
  48. *** 7711,7717 ****
  49.       int
  50.   redrawing()
  51.   {
  52. !     return (!RedrawingDisabled && !(p_lz && char_avail() && !KeyTyped));
  53.   }
  54.   
  55.   /*
  56. --- 7711,7718 ----
  57.       int
  58.   redrawing()
  59.   {
  60. !     return (!RedrawingDisabled
  61. !                && !(p_lz && char_avail() && !KeyTyped && !do_redraw));
  62.   }
  63.   
  64.   /*
  65. *** ../vim61.036/src/version.c    Sun Apr 28 22:11:57 2002
  66. --- src/version.c    Sun Apr 28 22:13:25 2002
  67. ***************
  68. *** 608,609 ****
  69. --- 608,611 ----
  70.   {   /* Add new patch number below this line */
  71. + /**/
  72. +     37,
  73.   /**/
  74.  
  75. -- 
  76. ARTHUR:  Bloody peasant!
  77. DENNIS:  Oh, what a give away.  Did you here that, did you here that, eh?
  78.          That's what I'm on about -- did you see him repressing me, you saw it
  79.          didn't you?
  80.                                   The Quest for the Holy Grail (Monty Python)
  81.  
  82.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  83. ///   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   \\\
  84. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  85.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  86.