[PATCH] KSpell2 improvement

Mashrab Kuvatov kmashrab at sat.physik.uni-bremen.de
Mon Mar 13 19:33:59 GMT 2006


On Monday 13 March 2006 15:21, Thiago Macieira wrote:

> "extract" means: find them all and construct a list like:
>
> static const char *extensionList[2][] = {
>   { "ise", I18N_NOOP("-ise suffixes") },
>   { "ize", I18N_NOOP("-ize suffixes") },
>   { "wo_accents", I18N_NOOP("without accents") },
>   ...
> };

I made such changes. Please have a look.

> Exactly: the method is called every time an item is selected. And building
> this list is an expensive operation. Just save it in a variable the first
> time you're called.

I need help here.

Cheers,
Mashrab.
-- 
PGP key: www.uni-bremen.de/~kmashrab/kmashrab.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kspell2-localize-language-combo.try2.patch
Type: text/x-diff
Size: 6502 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060313/a2bd1a66/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060313/a2bd1a66/attachment.sig>


More information about the kde-core-devel mailing list