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.045 < prev    next >
Encoding:
Internet Message Format  |  2001-10-30  |  1.7 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.045
  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.045
  11. Problem:    After creating a fold with a Visual selection, another window
  12.         with the same buffer still has inverted text. (Sami Salonen)
  13. Solution:   Redraw the inverted text.
  14. Files:        src/normal.c
  15.  
  16.  
  17. *** ../vim60.44/src/normal.c    Tue Oct 23 16:54:23 2001
  18. --- src/normal.c    Wed Oct 31 11:51:54 2001
  19. ***************
  20. *** 1633,1641 ****
  21.                   && vim_strchr(p_cpo, CPO_EMPTYREGION) != NULL);
  22.   
  23.   #ifdef FEAT_VISUAL
  24. !     /* Force a redraw when operating on an empty Visual region or when
  25. !      * 'modifiable is off. */
  26. !     if (oap->is_VIsual && (oap->empty || !curbuf->b_p_ma))
  27.           redraw_curbuf_later(INVERTED);
  28.   #endif
  29.   
  30. --- 1632,1644 ----
  31.                   && vim_strchr(p_cpo, CPO_EMPTYREGION) != NULL);
  32.   
  33.   #ifdef FEAT_VISUAL
  34. !     /* Force a redraw when operating on an empty Visual region, when
  35. !      * 'modifiable is off or creating a fold. */
  36. !     if (oap->is_VIsual && (oap->empty || !curbuf->b_p_ma
  37. ! # ifdef FEAT_FOLDING
  38. !             || oap->op_type == OP_FOLD
  39. ! # endif
  40. !             ))
  41.           redraw_curbuf_later(INVERTED);
  42.   #endif
  43.   
  44. *** ../vim60.44/src/version.c    Wed Oct 31 11:17:27 2001
  45. --- src/version.c    Wed Oct 31 11:54:20 2001
  46. ***************
  47. *** 608,609 ****
  48. --- 608,611 ----
  49.   {   /* Add new patch number below this line */
  50. + /**/
  51. +     45,
  52.   /**/
  53.  
  54. -- 
  55. Why don't cannibals eat clowns?
  56. Because they taste funny.
  57.  
  58.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  59. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  60.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  61.