diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-14 14:17:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-14 14:17:45 +0100 |
commit | a4d158b3c839e96ed98ff87c7b7124ff4518c4ff (patch) | |
tree | 42d3a6b65d4ae53a6e078c8f24a5ee9960e3ad24 /src/netbeans.c | |
parent | 28c9f895716cfa8f1220bc41b72a534c0e10cabe (diff) | |
download | vim-git-a4d158b3c839e96ed98ff87c7b7124ff4518c4ff.tar.gz |
patch 9.0.0206: redraw flags are not named specificallyv9.0.0206
Problem: Redraw flags are not named specifically.
Solution: Prefix "UPD_" to the flags, for UPDate_screen().
Diffstat (limited to 'src/netbeans.c')
-rw-r--r-- | src/netbeans.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/netbeans.c b/src/netbeans.c index 5c4527948..f9ef19a14 100644 --- a/src/netbeans.c +++ b/src/netbeans.c @@ -116,7 +116,7 @@ netbeans_close(void) // remove all signs and update the screen after gutter removal coloncmd(":sign unplace *"); changed_window_setting(); - update_screen(CLEAR); + update_screen(UPD_CLEAR); setcursor(); cursor_on(); out_flush_cursor(TRUE, FALSE); @@ -1835,9 +1835,9 @@ nb_do_cmd( } // gui_update_cursor(TRUE, FALSE); - // update_curbuf(NOT_VALID); + // update_curbuf(UPD_NOT_VALID); update_topline(); // scroll to show the line - update_screen(VALID); + update_screen(UPD_VALID); setcursor(); cursor_on(); out_flush_cursor(TRUE, FALSE); @@ -2027,7 +2027,7 @@ nb_do_cmd( args = (char_u *)cp; coloncmd(":sign unplace %d buffer=%d", serNum, buf->bufp->b_fnum); - redraw_buf_later(buf->bufp, NOT_VALID); + redraw_buf_later(buf->bufp, UPD_NOT_VALID); #endif // ===================================================================== } @@ -2113,7 +2113,7 @@ nb_do_cmd( } } #endif - redraw_buf_later(buf->bufp, NOT_VALID); + redraw_buf_later(buf->bufp, UPD_NOT_VALID); } } // ===================================================================== @@ -2223,7 +2223,7 @@ nb_do_cmd( */ if (buf != NULL && buf->initDone && do_update) { - update_screen(NOT_VALID); + update_screen(UPD_NOT_VALID); setcursor(); cursor_on(); out_flush_cursor(TRUE, FALSE); @@ -2528,7 +2528,7 @@ netbeans_open(char *params, int doabort) // update the screen after having added the gutter changed_window_setting(); - update_screen(CLEAR); + update_screen(UPD_CLEAR); setcursor(); cursor_on(); out_flush_cursor(TRUE, FALSE); |