home *** CD-ROM | disk | FTP | other *** search
- To: vim-dev@vim.org
- Subject: patch 5.5.022
- Fcc: outbox
- From: Bram Moolenaar <Bram@moolenaar.net>
- ------------
-
- Patch 5.5.022
- Problem: When setting or resetting 'paste' the ruler wasn't updated.
- Solution: Update the status lines when 'ruler' changes because of 'paste'.
- Files: src/option.c
-
-
- *** ../vim-5.5.21/src/option.c Wed Sep 22 10:06:20 1999
- --- src/option.c Tue Oct 12 15:48:38 1999
- ***************
- *** 5716,5721 ****
- --- 5721,5728 ----
- /* set global options */
- p_sm = 0; /* no showmatch */
- #ifdef CMDLINE_INFO
- + if (p_ru)
- + status_redraw_all(); /* redraw to remove the ruler */
- p_ru = 0; /* no ruler */
- #endif
- #ifdef RIGHTLEFT
- ***************
- *** 5750,5755 ****
- --- 5757,5764 ----
- /* restore global options */
- p_sm = save_sm;
- #ifdef CMDLINE_INFO
- + if (p_ru != save_ru)
- + status_redraw_all(); /* redraw to draw the ruler */
- p_ru = save_ru;
- #endif
- #ifdef RIGHTLEFT
- *** ../vim-5.5.21/src/version.c Tue Oct 12 19:52:03 1999
- --- src/version.c Tue Oct 12 19:52:23 1999
- ***************
- *** 420,420 ****
- --- 420,421 ----
- { /* Add new patch number below this line */
- + 22,
-
- --
- ARTHUR: Then who is your lord?
- WOMAN: We don't have a lord.
- ARTHUR: What?
- DENNIS: I told you. We're an anarcho-syndicalist commune. We take it in
- turns to act as a sort of executive officer for the week.
- The Quest for the Holy Grail (Monty Python)
-
- --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\--
- \ \ www.vim.org/iccf www.moolenaar.net www.vim.org / /
-