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 / unreleased / patches / 6.0aw.003 < prev    next >
Encoding:
Internet Message Format  |  2001-09-16  |  1.4 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0aw.003
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. ------------
  6.  
  7. Patch 6.0aw.003
  8. Problem:    When drawing wrapped lines or filler lines and the first char on
  9.         the next line doesn't need redrawing it would be made blank.
  10. Solution:   Mark the blanked out character for redrawing.  Don't output a
  11.         blank after a filler line, it's not a wrapped line.
  12. Files:        src/screen.c
  13.  
  14.  
  15. *** ../vim-6.0aw/src/screen.c    Sun Sep 16 22:21:06 2001
  16. --- src/screen.c    Mon Sep 17 15:11:45 2001
  17. ***************
  18. *** 3770,3775 ****
  19. --- 3770,3778 ----
  20.   #ifdef FEAT_GUI
  21.                && !gui.in_use
  22.   #endif
  23. + #ifdef FEAT_DIFF
  24. +              && filler_todo <= 0
  25. + #endif
  26.   #ifdef FEAT_MBYTE
  27.                && !(has_mbyte
  28.                && ((*mb_off2cells)(LineOffset[screen_row]) == 2
  29. ***************
  30. *** 3786,3791 ****
  31. --- 3789,3796 ----
  32.                                 + (unsigned)Columns - 1,
  33.                         screen_row - 1, (int)(Columns - 1));
  34.           out_char(' ');
  35. +         /* force a redraw of the first char on the next line */
  36. +         ScreenAttrs[LineOffset[screen_row]] = (sattr_T)-1;
  37.           screen_start();        /* don't know where cursor is now */
  38.           }
  39.   
  40.  
  41. -- 
  42. hundred-and-one symptoms of being an internet addict:
  43. 240. You think Webster's Dictionary is a directory of WEB sites.
  44.  
  45.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  46. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  47.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  48.