To: [email protected]
Subject: Patch 6.0aw.003
Fcc: outbox
From: Bram Moolenaar <[email protected]>
------------

Patch 6.0aw.003
Problem:    When drawing wrapped lines or filler lines and the first char on
           the next line doesn't need redrawing it would be made blank.
Solution:   Mark the blanked out character for redrawing.  Don't output a
           blank after a filler line, it's not a wrapped line.
Files:      src/screen.c


*** ../vim-6.0aw/src/screen.c   Sun Sep 16 22:21:06 2001
--- src/screen.c        Mon Sep 17 15:11:45 2001
***************
*** 3770,3775 ****
--- 3770,3778 ----
 #ifdef FEAT_GUI
                    && !gui.in_use
 #endif
+ #ifdef FEAT_DIFF
+                    && filler_todo <= 0
+ #endif
 #ifdef FEAT_MBYTE
                    && !(has_mbyte
                        && ((*mb_off2cells)(LineOffset[screen_row]) == 2
***************
*** 3786,3791 ****
--- 3789,3796 ----
                                                     + (unsigned)Columns - 1,
                                         screen_row - 1, (int)(Columns - 1));
               out_char(' ');
+               /* force a redraw of the first char on the next line */
+               ScreenAttrs[LineOffset[screen_row]] = (sattr_T)-1;
               screen_start();         /* don't know where cursor is now */
           }


--
hundred-and-one symptoms of being an internet addict:
240. You think Webster's Dictionary is a directory of WEB sites.

///  Bram Moolenaar -- [email protected] -- http://www.moolenaar.net  \\\
(((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
\\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///