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.0 / 7.0.169 < prev    next >
Encoding:
Internet Message Format  |  2006-11-27  |  1.8 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 7.0.169
  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 7.0.169
  11. Problem:    With a Visual block selection, with the cursor in the left upper
  12.         corner, pressing "I" doesn't remove the highlighting. (Guopeng
  13.         Wen)
  14. Solution:   When checking if redrawing is needed also check if Visual
  15.         selection is still active.
  16. Files:        src/screen.c
  17.  
  18.  
  19. *** ../vim-7.0.168/src/screen.c    Mon Oct  9 22:11:52 2006
  20. --- src/screen.c    Tue Nov 28 16:11:24 2006
  21. ***************
  22. *** 455,460 ****
  23. --- 455,461 ----
  24.               && curwin->w_topline == curwin->w_lines[0].wl_lnum)
  25.   #ifdef FEAT_VISUAL
  26.           || (type == INVERTED
  27. +             && VIsual_active
  28.               && curwin->w_old_cursor_lnum == curwin->w_cursor.lnum
  29.               && curwin->w_old_visual_mode == VIsual_mode
  30.               && (curwin->w_valid & VALID_VIRTCOL)
  31. *** ../vim-7.0.168/src/version.c    Tue Nov 21 20:57:21 2006
  32. --- src/version.c    Tue Nov 28 16:13:40 2006
  33. ***************
  34. *** 668,669 ****
  35. --- 668,671 ----
  36.   {   /* Add new patch number below this line */
  37. + /**/
  38. +     169,
  39.   /**/
  40.  
  41. -- 
  42.     [clop clop]
  43. GUARD #1:  Halt!  Who goes there?
  44. ARTHUR:    It is I, Arthur, son of Uther Pendragon, from the castle of
  45.            Camelot.  King of the Britons, defeator of the Saxons, sovereign of
  46.            all England!
  47. GUARD #1:  Pull the other one!
  48.                                   The Quest for the Holy Grail (Monty Python)
  49.  
  50.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  51. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  52. \\\        download, build and distribute -- http://www.A-A-P.org        ///
  53.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  54.