Spellcheck in realtime?

Plugins for SynWrite and CudaText...
Post Reply
sl23
Posts: 211
Joined: 29.01.2013 10:04

Spellcheck in realtime?

Post 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 ;)
Live for an ideal and leave no place in the mind for anything else.
sl23
Posts: 211
Joined: 29.01.2013 10:04

Re: Spellcheck in realtime?

Post 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?
Live for an ideal and leave no place in the mind for anything else.
main Alexey
Posts: 3004
Joined: 25.08.2021 18:15

Re: Spellcheck in realtime?

Post 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.
sl23
Posts: 211
Joined: 29.01.2013 10:04

Re: Spellcheck in realtime?

Post by sl23 »

ok, no worries, if it is problematic, don't bother about it. ;)
Live for an ideal and leave no place in the mind for anything else.
Post Reply