summaryrefslogtreecommitdiffstats
path: root/src/edit.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-09-27 16:29:38 +0100
committerBram Moolenaar <Bram@vim.org>2022-09-27 16:29:38 +0100
commit26f09ea54b2c60abf21df42c60bdfc60eca17b0d (patch)
tree4a6ac8239dfc73b25d28dd410211387f464da7f8 /src/edit.c
parentf802767df7b4532651fcf11d49e812ead32db45b (diff)
patch 9.0.0608: with spelling, deleting a full stop does not update next linev9.0.0608
Problem: With spell checking, deleting a full stop at the end of a line does not update SpellCap at the start of the next line. Solution: Update the next line when characters have been deleted. Also when using undo.
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/edit.c b/src/edit.c
index 2ac544a6be..4479964591 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -3607,13 +3607,6 @@ ins_esc(
#ifdef FEAT_SPELL
check_spell_redraw();
-
- // When text has been changed in this line, possibly the start of the next
- // line may have SpellCap that should be removed or it needs to be
- // displayed. Schedule the next line for redrawing just in case.
- if (spell_check_window(curwin)
- && curwin->w_cursor.lnum < curbuf->b_ml.ml_line_count)
- redrawWinline(curwin, curwin->w_cursor.lnum + 1);
#endif
temp = curwin->w_cursor.col;