From ff6714f60078be9e464c1bc512da0644f43ecfb2 Mon Sep 17 00:00:00 2001 From: Ianos Gnatiuc Date: Wed, 30 Nov 2005 11:17:42 +0000 Subject: [PATCH] Refresh whole page if new language is loaded or word is added to user dictionary --- golded3/geedit.cpp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/golded3/geedit.cpp b/golded3/geedit.cpp index 3f59bfd..09dc8ff 100644 --- a/golded3/geedit.cpp +++ b/golded3/geedit.cpp @@ -2129,7 +2129,18 @@ void IEclass::SCheckerMenu() } if (finaltag == -2) - refresh(currline, row); + { + Line *line = currline; + uint32_t _row = row; + + while (line->prev && (_row > minrow)) + { + line = line->prev; + _row--; + } + + refresh(line, _row); + } } #endif