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 / old / 5.5.022 < prev    next >
Encoding:
Internet Message Format  |  1999-10-11  |  1.6 KB

  1. To: vim-dev@vim.org
  2. Subject: patch 5.5.022
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. ------------
  6.  
  7. Patch 5.5.022
  8. Problem:    When setting or resetting 'paste' the ruler wasn't updated.
  9. Solution:   Update the status lines when 'ruler' changes because of 'paste'.
  10. Files:        src/option.c
  11.  
  12.  
  13. *** ../vim-5.5.21/src/option.c    Wed Sep 22 10:06:20 1999
  14. --- src/option.c    Tue Oct 12 15:48:38 1999
  15. ***************
  16. *** 5716,5721 ****
  17. --- 5721,5728 ----
  18.       /* set global options */
  19.       p_sm = 0;            /* no showmatch */
  20.   #ifdef CMDLINE_INFO
  21. +     if (p_ru)
  22. +         status_redraw_all();    /* redraw to remove the ruler */
  23.       p_ru = 0;            /* no ruler */
  24.   #endif
  25.   #ifdef RIGHTLEFT
  26. ***************
  27. *** 5750,5755 ****
  28. --- 5757,5764 ----
  29.       /* restore global options */
  30.       p_sm = save_sm;
  31.   #ifdef CMDLINE_INFO
  32. +     if (p_ru != save_ru)
  33. +         status_redraw_all();    /* redraw to draw the ruler */
  34.       p_ru = save_ru;
  35.   #endif
  36.   #ifdef RIGHTLEFT
  37. *** ../vim-5.5.21/src/version.c    Tue Oct 12 19:52:03 1999
  38. --- src/version.c    Tue Oct 12 19:52:23 1999
  39. ***************
  40. *** 420,420 ****
  41. --- 420,421 ----
  42.   {   /* Add new patch number below this line */
  43. +     22,
  44.  
  45. --
  46. ARTHUR:  Then who is your lord?
  47. WOMAN:   We don't have a lord.
  48. ARTHUR:  What?
  49. DENNIS:  I told you.  We're an anarcho-syndicalist commune.  We take it in
  50.          turns to act as a sort of executive officer for the week.
  51.                                   The Quest for the Holy Grail (Monty Python)
  52.  
  53. --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\--
  54.   \ \    www.vim.org/iccf      www.moolenaar.net       www.vim.org    / /
  55.