]> git.lyx.org Git - features.git/commitdiff
add a 'fitCursor'
authorAndré Pönitz <poenitz@gmx.net>
Thu, 7 Aug 2003 10:12:49 +0000 (10:12 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Thu, 7 Aug 2003 10:12:49 +0000 (10:12 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7517 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/controllers/ControlSpellchecker.C

index 1ad7848f6e014c1e555f0b873ef822e797d714fa..de9c7ff3e3ee6500b9a5dbaed86924b1b7772f42 100644 (file)
@@ -182,9 +182,11 @@ void ControlSpellchecker::check()
        }
 
        lyxerr[Debug::GUI] << "Found word \"" << word_.word() << "\"" << endl;
+       lyxerr << "Found word \"" << word_.word() << "\"" << endl;
 
        if (!word_.word().empty()) {
                bufferview()->selectLastWord();
+               bufferview()->fitCursor();
        } else {
                showSummary();
                endSession();