The gvim screen is blinking when receiving netbeans command. This
happens even when the signs that are being moved around are not visible
in the displayed windows. The following patch fixes this problem.

Patch based on stable vim 7.0
Problem:    gvim blinking on processing the addAnno command
Solution:   redraw only what has changed
Files:      src/netbeans.c


diff -Naur vim70_old/src/netbeans.c vim70/src/netbeans.c
--- vim70_old/src/netbeans.c    2006-04-22 20:00:05.000000000 +0200
+++ vim70/src/netbeans.c        2007-04-20 10:36:24.320362472 +0200
@@ -2119,7 +2119,7 @@
                                                       buf->bufp->b_fnum);
            }
            /* XXX only redraw what changed. */
-           redraw_later(CLEAR);
+           redraw_later(NOT_VALID);
 #endif
 /* =====================================================================*/
        }


--
Xavier


--
http://clewn.sourceforge.net           gdb support in Vim

Reply via email to