comparison src/spell.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 5233acfa06f1
children 087c42245022
comparison
equal deleted inserted replaced
29731:df7f360215b7 29732:89e1d67814a9
2282 lp->lp_replang = lp2->lp_slang; 2282 lp->lp_replang = lp2->lp_slang;
2283 break; 2283 break;
2284 } 2284 }
2285 } 2285 }
2286 } 2286 }
2287 redraw_win_later(wp, NOT_VALID); 2287 redraw_win_later(wp, UPD_NOT_VALID);
2288 2288
2289 theend: 2289 theend:
2290 vim_free(spl_copy); 2290 vim_free(spl_copy);
2291 recursive = FALSE; 2291 recursive = FALSE;
2292 return ret_msg; 2292 return ret_msg;
3852 3852
3853 // Delete the empty line that we started with. 3853 // Delete the empty line that we started with.
3854 if (curbuf->b_ml.ml_line_count > 1) 3854 if (curbuf->b_ml.ml_line_count > 1)
3855 ml_delete(curbuf->b_ml.ml_line_count); 3855 ml_delete(curbuf->b_ml.ml_line_count);
3856 3856
3857 redraw_later(NOT_VALID); 3857 redraw_later(UPD_NOT_VALID);
3858 } 3858 }
3859 3859
3860 /* 3860 /*
3861 * Go through all possible words and: 3861 * Go through all possible words and:
3862 * 1. When "pat" is NULL: dump a list of all words in the current buffer. 3862 * 1. When "pat" is NULL: dump a list of all words in the current buffer.