From 147e31bff51dd0a9179c9fb36083662008a7340e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Thu, 1 Nov 2007 17:45:39 +0000 Subject: [PATCH] * src/frontends/controllers/ControlSpellchecker.cpp: - update screen after checking the last word (bug 3586). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21348 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/controllers/ControlSpellchecker.cpp | 5 +++++ status.15x | 3 +++ 2 files changed, 8 insertions(+) diff --git a/src/frontends/controllers/ControlSpellchecker.cpp b/src/frontends/controllers/ControlSpellchecker.cpp index e62bb01959..edc2aa2d84 100644 --- a/src/frontends/controllers/ControlSpellchecker.cpp +++ b/src/frontends/controllers/ControlSpellchecker.cpp @@ -219,6 +219,11 @@ void ControlSpellchecker::check() // end of document if (getWord().empty()) { + // FIXME: if we used a lfun like in find/replace, dispatch + // would do that for us + kernel().bufferview()->update(); + // FIXME: this Controller is very badly designed... + kernel().lyxview().currentWorkArea()->redraw(); showSummary(); exitEarly_ = true; return; diff --git a/status.15x b/status.15x index 67d6f873fc..83bd08c925 100644 --- a/status.15x +++ b/status.15x @@ -96,6 +96,9 @@ What's new - Really highlight search text (bug 3999). +- Fix bug where the spellchecker didn't update the screen display on the last of + several misspelt words (bug 3586). + * DOCUMENTATION