mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 9.0.0608: with spelling, deleting a full stop does not update next line
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.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user