Version: 3.2-CVS-1 (using KDE 3.1.1) Installed from: compiled sources Compiler: gcc version 2.96 20000731 (Mandrake Linux 8.2 2.96-0.76mdk) OS: Linux (i686) release 2.4.18-8.1mdk Quanta doesn't remember spellchecker settings. These are always "Default settings", even after choosing something else. Same option in KEdit works well.
Subject: quanta CVS commit by amantia: Store and use the spell checking options. CCMAIL: 56561-done@bugs.kde.org M +1 -0 ChangeLog 1.145 M +14 -4 quanta/quanta.cpp 1.254 --- quanta/ChangeLog #1.144:1.145 @@ -22,4 +22,5 @@ - closing the files (and closing Quanta) isn't slow anymore [#56233] - opening project views or multiple files on startup is much faster + - store and use the spell checking settings [#56561] - new features: - "Replace selection" for script actions replaces the selection if --- quanta/quanta/quanta.cpp #1.253:1.254 @@ -930,10 +930,9 @@ void QuantaApp::slotOptions() if (debuggerStyle=="None") debuggerOptions->checkDebugger->setChecked(false); - if (KDE_VERSION >= 308) - { +#if KDE_VERSION > 308 //Spelling options page=kd->addVBoxPage(i18n("Spelling"), QString::null, BarIcon("spellcheck", KIcon::SizeMedium ) ); - new KSpellConfig( (QWidget *)page, 0L, qConfig.spellConfig, false ); - } + KSpellConfig *spellOptions = new KSpellConfig( (QWidget *)page, 0L, qConfig.spellConfig, false ); +#endif kd->adjustSize(); if ( kd->exec() ) @@ -984,4 +983,15 @@ void QuantaApp::slotOptions() debuggerStyle="PHP4"; } + +#if KDE_VERSION > 308 + qConfig.spellConfig->setDictionary(spellOptions->dictionary()); + qConfig.spellConfig->setNoRootAffix(spellOptions->noRootAffix()); + qConfig.spellConfig->setRunTogether(spellOptions->runTogether()); + qConfig.spellConfig->setDictFromList(spellOptions->dictFromList()); + qConfig.spellConfig->setEncoding(spellOptions->encoding()); + qConfig.spellConfig->setIgnoreList(spellOptions->ignoreList()); + qConfig.spellConfig->setReplaceAllList(spellOptions->replaceAllList()); + qConfig.spellConfig->setClient(spellOptions->client()); +#endif QWidgetStack *s;
Subject: Re: Quanta doesn't remember spellchecker settings W sobota, 29 marca 2003 13:04, Mantia Andras napisa