Page 1 of 1

Spellcheck in realtime?

Posted: 28.02.2026 11:26
by sl23
Is there a way to have the Spellcheck work in realtime, like in a word processor? Currently I have to manually run it.
Also, is there a way to add languages? I require en_GB.
Thanks ;)

Re: Spellcheck in realtime?

Posted: 28.02.2026 11:47
by sl23
I managed to install the en_GB-ise dictionary, though I had to rename to en_GB for it to be detected.
I installed it into the py directory: CudaText\py\cuda_spell_checker\enchant_x64\data\share\enchant\hunspell\
Is that the correct place? Or should it be in the CT user settings folder?

Re: Spellcheck in realtime?

Posted: 28.02.2026 13:51
by main Alexey
Additional dicts:
all I know is the info we have in the py/cuda_spell_checker/readme/readme.txt.
'Additional dictionaries' topic there.
This should be enough or not?

Checking in real-time:
maybe it is possible to add to plugin, but I left this addtional work for someone else. API allows to detect which lines were changed on last editing:

* PROP_LINE_STATES_UPDATED: list of bool: list of "updated" flags for all lines, each flag shows that its line was added/changed since the last clearing of this "updated" flag.

Downside: it will slow down the usual text editing maybe.

Re: Spellcheck in realtime?

Posted: 28.02.2026 15:59
by sl23
ok, no worries, if it is problematic, don't bother about it. ;)