comparison src/if_mzsch.c @ 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 9849df834f1d
children 029c59bf78f1
comparison
equal deleted inserted replaced
29731:df7f360215b7 29732:89e1d67814a9
1629 MZ_GC_REG(); 1629 MZ_GC_REG();
1630 cmd = GUARANTEED_STRING_ARG(prim->name, 0); 1630 cmd = GUARANTEED_STRING_ARG(prim->name, 0);
1631 1631
1632 // may be use do_cmdline_cmd? 1632 // may be use do_cmdline_cmd?
1633 do_cmdline(BYTE_STRING_VALUE(cmd), NULL, NULL, DOCMD_NOWAIT|DOCMD_VERBOSE); 1633 do_cmdline(BYTE_STRING_VALUE(cmd), NULL, NULL, DOCMD_NOWAIT|DOCMD_VERBOSE);
1634 update_screen(VALID); 1634 update_screen(UPD_VALID);
1635 1635
1636 MZ_GC_UNREG(); 1636 MZ_GC_UNREG();
1637 raise_if_error(); 1637 raise_if_error();
1638 return scheme_void; 1638 return scheme_void;
1639 } 1639 }
1834 // do_set can modify cmd, make copy 1834 // do_set can modify cmd, make copy
1835 command = vim_strsave(BYTE_STRING_VALUE(cmd)); 1835 command = vim_strsave(BYTE_STRING_VALUE(cmd));
1836 MZ_GC_UNREG(); 1836 MZ_GC_UNREG();
1837 do_set(command, scope); 1837 do_set(command, scope);
1838 vim_free(command); 1838 vim_free(command);
1839 update_screen(NOT_VALID); 1839 update_screen(UPD_NOT_VALID);
1840 curbuf = save_curb; 1840 curbuf = save_curb;
1841 curwin = save_curw; 1841 curwin = save_curw;
1842 raise_if_error(); 1842 raise_if_error();
1843 return scheme_void; 1843 return scheme_void;
1844 } 1844 }
2104 // don't know how to catch invalid column value 2104 // don't know how to catch invalid column value
2105 2105
2106 win->win->w_cursor.lnum = lnum; 2106 win->win->w_cursor.lnum = lnum;
2107 win->win->w_cursor.col = col; 2107 win->win->w_cursor.col = col;
2108 win->win->w_set_curswant = TRUE; 2108 win->win->w_set_curswant = TRUE;
2109 update_screen(VALID); 2109 update_screen(UPD_VALID);
2110 2110
2111 raise_if_error(); 2111 raise_if_error();
2112 return scheme_void; 2112 return scheme_void;
2113 } 2113 }
2114 /* 2114 /*
2779 vim_free(str); 2779 vim_free(str);
2780 appended_lines_mark((linenr_T)n, 1L); 2780 appended_lines_mark((linenr_T)n, 1L);
2781 } 2781 }
2782 2782
2783 curbuf = savebuf; 2783 curbuf = savebuf;
2784 update_screen(VALID); 2784 update_screen(UPD_VALID);
2785 2785
2786 MZ_GC_UNREG(); 2786 MZ_GC_UNREG();
2787 raise_if_error(); 2787 raise_if_error();
2788 return scheme_void; 2788 return scheme_void;
2789 } 2789 }
2839 appended_lines_mark((linenr_T)n, (long)i); 2839 appended_lines_mark((linenr_T)n, (long)i);
2840 } 2840 }
2841 free_array(array); 2841 free_array(array);
2842 MZ_GC_UNREG(); 2842 MZ_GC_UNREG();
2843 curbuf = savebuf; 2843 curbuf = savebuf;
2844 update_screen(VALID); 2844 update_screen(UPD_VALID);
2845 } 2845 }
2846 2846
2847 MZ_GC_UNREG(); 2847 MZ_GC_UNREG();
2848 raise_if_error(); 2848 raise_if_error();
2849 return scheme_void; 2849 return scheme_void;