comparison src/indent.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 057c26b5c33a
children f1f7e4e977fd
comparison
equal deleted inserted replaced
29731:df7f360215b7 29732:89e1d67814a9
1130 if (last_changed != 0) 1130 if (last_changed != 0)
1131 changed_lines(first_changed, 0, 1131 changed_lines(first_changed, 0,
1132 oap->is_VIsual ? start_lnum + oap->line_count : 1132 oap->is_VIsual ? start_lnum + oap->line_count :
1133 last_changed + 1, 0L); 1133 last_changed + 1, 0L);
1134 else if (oap->is_VIsual) 1134 else if (oap->is_VIsual)
1135 redraw_curbuf_later(INVERTED); 1135 redraw_curbuf_later(UPD_INVERTED);
1136 1136
1137 if (oap->line_count > p_report) 1137 if (oap->line_count > p_report)
1138 { 1138 {
1139 i = oap->line_count - (i + 1); 1139 i = oap->line_count - (i + 1);
1140 smsg(NGETTEXT("%ld line indented ", 1140 smsg(NGETTEXT("%ld line indented ",
1828 ; // not changed 1828 ; // not changed
1829 else if (tabstop_count(curbuf->b_p_vts_array) > 0 1829 else if (tabstop_count(curbuf->b_p_vts_array) > 0
1830 && tabstop_eq(curbuf->b_p_vts_array, new_vts_array)) 1830 && tabstop_eq(curbuf->b_p_vts_array, new_vts_array))
1831 ; // not changed 1831 ; // not changed
1832 else 1832 else
1833 redraw_curbuf_later(NOT_VALID); 1833 redraw_curbuf_later(UPD_NOT_VALID);
1834 #else 1834 #else
1835 if (curbuf->b_p_ts != new_ts) 1835 if (curbuf->b_p_ts != new_ts)
1836 redraw_curbuf_later(NOT_VALID); 1836 redraw_curbuf_later(UPD_NOT_VALID);
1837 #endif 1837 #endif
1838 if (first_line != 0) 1838 if (first_line != 0)
1839 changed_lines(first_line, 0, last_line + 1, 0L); 1839 changed_lines(first_line, 0, last_line + 1, 0L);
1840 1840
1841 curwin->w_p_list = save_list; // restore 'list' 1841 curwin->w_p_list = save_list; // restore 'list'