Avoid automatic startup of the spellchecker when switching from one

document to another (bug 1451)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@10062 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2005-06-14 13:05:29 +00:00
parent dbef382d9b
commit e4218903ec
4 changed files with 20 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-06-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* ControlSpellchecker.C (updateSlot): overload this method, in
order to avoid starting the spellchecker on update (bug 1451).
2005-06-10 Angus Leeming <leeming@lyx.org>
* ControlSpellchecker.C (startSession): remove block of code that

View File

@ -59,6 +59,13 @@ void ControlSpellchecker::clearParams()
}
void ControlSpellchecker::updateSlot(bool switched)
{
if (switched)
hide();
}
void ControlSpellchecker::startSession()
{
lyxerr[Debug::GUI] << "spell startSession" << endl;

View File

@ -83,6 +83,10 @@ private:
/// not needed.
virtual void apply() {}
/** Instantiation of ControlConnectBD private virtual method.
Slot connected to update signal. */
virtual void updateSlot(bool);
/// current word being checked and lang code
WordLangTuple word_;

View File

@ -129,6 +129,9 @@ What's new
- Fix math fonts display in LyX/Mac.
- Avoid automatic startup of the spellchecker when switching from one
document to another [Bug 1451]
- Make LyX behave normally when a file has been open from the Explorer
[Windows only].
@ -156,7 +159,7 @@ What's new
- fix translation of layout names with a space in their name.
- Fix server function server-get-tip [Bug 1781]
- Fix server function server-get-tip. [Bug 1781]
- Fix binding of Shift-Tab, which was broken on some systems.