Summary: | Quanta doesn't remember spellchecker settings | ||
---|---|---|---|
Product: | [Unmaintained] quanta | Reporter: | mrudolf |
Component: | general | Assignee: | András Manţia <amantia> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
mrudolf
2003-03-28 23:10:52 UTC
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 |