Mercurial > vim
comparison src/if_perl.xs @ 29732:89e1d67814a9 v9.0.0206
patch 9.0.0206: redraw flags are not named specifically
Commit: https://github.com/vim/vim/commit/a4d158b3c839e96ed98ff87c7b7124ff4518c4ff
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 14 14:17:45 2022 +0100
patch 9.0.0206: redraw flags are not named specifically
Problem: Redraw flags are not named specifically.
Solution: Prefix "UPD_" to the flags, for UPDate_screen().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 14 Aug 2022 15:30:05 +0200 |
parents | d26a95a16ce1 |
children | d595be6d2186 |
comparison
equal
deleted
inserted
replaced
29731:df7f360215b7 | 29732:89e1d67814a9 |
---|---|
1458 PUTBACK; | 1458 PUTBACK; |
1459 } | 1459 } |
1460 FREETMPS; | 1460 FREETMPS; |
1461 LEAVE; | 1461 LEAVE; |
1462 check_cursor(); | 1462 check_cursor(); |
1463 update_screen(NOT_VALID); | 1463 update_screen(UPD_NOT_VALID); |
1464 if (!length) | 1464 if (!length) |
1465 return; | 1465 return; |
1466 | 1466 |
1467 err: | 1467 err: |
1468 msg_split((char_u *)str, highlight_attr[HLF_E]); | 1468 msg_split((char_u *)str, highlight_attr[HLF_E]); |
1582 char *line; | 1582 char *line; |
1583 | 1583 |
1584 PPCODE: | 1584 PPCODE: |
1585 if (line != NULL) | 1585 if (line != NULL) |
1586 do_set((char_u *)line, 0); | 1586 do_set((char_u *)line, 0); |
1587 update_screen(NOT_VALID); | 1587 update_screen(UPD_NOT_VALID); |
1588 | 1588 |
1589 void | 1589 void |
1590 DoCommand(line) | 1590 DoCommand(line) |
1591 char *line; | 1591 char *line; |
1592 | 1592 |
1775 col = (int) SvIV(ST(2)); | 1775 col = (int) SvIV(ST(2)); |
1776 win->w_cursor.lnum = lnum; | 1776 win->w_cursor.lnum = lnum; |
1777 win->w_cursor.col = col; | 1777 win->w_cursor.col = col; |
1778 win->w_set_curswant = TRUE; | 1778 win->w_set_curswant = TRUE; |
1779 check_cursor(); /* put cursor on an existing line */ | 1779 check_cursor(); /* put cursor on an existing line */ |
1780 update_screen(NOT_VALID); | 1780 update_screen(UPD_NOT_VALID); |
1781 } | 1781 } |
1782 | 1782 |
1783 MODULE = VIM PACKAGE = VIBUF | 1783 MODULE = VIM PACKAGE = VIBUF |
1784 | 1784 |
1785 void | 1785 void |
1927 | 1927 |
1928 /* restore curwin/curbuf and a few other things */ | 1928 /* restore curwin/curbuf and a few other things */ |
1929 aucmd_restbuf(&aco); | 1929 aucmd_restbuf(&aco); |
1930 /* Careful: autocommands may have made "vimbuf" invalid! */ | 1930 /* Careful: autocommands may have made "vimbuf" invalid! */ |
1931 | 1931 |
1932 update_curbuf(VALID); | 1932 update_curbuf(UPD_VALID); |
1933 } | 1933 } |
1934 } | 1934 } |
1935 } | 1935 } |
1936 } | 1936 } |
1937 | 1937 |
1968 | 1968 |
1969 /* restore curwin/curbuf and a few other things */ | 1969 /* restore curwin/curbuf and a few other things */ |
1970 aucmd_restbuf(&aco); | 1970 aucmd_restbuf(&aco); |
1971 /* Careful: autocommands may have made "vimbuf" invalid! */ | 1971 /* Careful: autocommands may have made "vimbuf" invalid! */ |
1972 | 1972 |
1973 update_curbuf(VALID); | 1973 update_curbuf(UPD_VALID); |
1974 } | 1974 } |
1975 } | 1975 } |
1976 } | 1976 } |
1977 | 1977 |
1978 #ifdef __GNUC__ | 1978 #ifdef __GNUC__ |