>is it possible to store the "enchant" folder with custom dictionaries somewhere in the CudaText folder?
Sorry, Enchant lib don't allow to change this AFAIK.
plugin Spell Checker
-
main Alexey
- Posts: 3058
- Joined: 25.08.2021 18:15
this is ok wish. plugin is updated:>- Is there a setting to turn off all processing on a mouse click so that there is no delay from it?
2022.11.27
* change: instead of install.inf, write event-options (on_open/on_change_slow) to plugins.ini
* change: by default, on_click handler is off, so context menu won't be updated after click on a word; to turn the on_click on - use the "Configure events" command
Last edited by main Alexey on 27.11.2022 11:10, edited 1 time in total.
-
main Alexey
- Posts: 3058
- Joined: 25.08.2021 18:15
-
main Alexey
- Posts: 3058
- Joined: 25.08.2021 18:15
Cannot see it on Ubuntu 20.There is a problem (checked on an "empty" distribution), only the first word is added to the dictionary by the "Add" button, nothing happens after that, the dictionary will have only one word (if you delete it, you can add a new "one word" again)
dict folder is: ~/.config/enchant (I fixed this in the readme now).
and after I did 'check text with suggestions' and added 2 wrong words, dict file has these 2 words.
then added 3 words more. dict file has 5 words now.
en_US.dic
after app restart, 'check' sees 5 bad words in dict file.
must be Enchant issue in Win version? can you try to update Enchant libs (find on web)?
-
main Alexey
- Posts: 3058
- Joined: 25.08.2021 18:15
Spell Check Suggestions
The spell check plugin is amazing. The red underlines are hard to see for tired old eyes, but I found setting '3' made them thicker and easier to spot!
A quick suggestion: the spell suggestion dialog appears in the centre of the screen, where it can cover quite a bit of text. One can easily move it over, but as soon as one goes to the next misspelling, the dialog goes back to screen centre. It would be helpful it the dialog would retain the position set by the user, at least for the current session... not necessarily from one opening of the program to the next.
A quick suggestion: the spell suggestion dialog appears in the centre of the screen, where it can cover quite a bit of text. One can easily move it over, but as soon as one goes to the next misspelling, the dialog goes back to screen centre. It would be helpful it the dialog would retain the position set by the user, at least for the current session... not necessarily from one opening of the program to the next.
-
main Alexey
- Posts: 3058
- Joined: 25.08.2021 18:15
OK suggestion, posted here https://github.com/Alexey-T/CudaText/issues/4940
-
main Alexey
- Posts: 3058
- Joined: 25.08.2021 18:15
Re: plugin spell checker
The question i have might be for the lexer category but it involves spell checker so
i thought it is better to ask here.
I am trying to make a simple lexer as default for txt files or new untitled-unsaved tabs.
But when i am installing it and selecting (my lexer) i don't have underlined spell check for all the words (especially those that don't belong to a parser - basically all the normal text), although when i right click the word i have the suggestions.
If on the other hand i choose (none) as lexer it underlines ok.
I am not saying that the plugin has a problem but what am i doing wrong.
example wrong words: afteer the time haas past
In SynWrite lexer properties at the commenting tab i am adding:
Styles of comments:
Comments
Styles of strings:
Text,Separator,Parenthesis,Quote ... and all the Parsers i am editing.
Is this setup ok;
i thought it is better to ask here.
I am trying to make a simple lexer as default for txt files or new untitled-unsaved tabs.
But when i am installing it and selecting (my lexer) i don't have underlined spell check for all the words (especially those that don't belong to a parser - basically all the normal text), although when i right click the word i have the suggestions.
If on the other hand i choose (none) as lexer it underlines ok.
I am not saying that the plugin has a problem but what am i doing wrong.
example wrong words: afteer the time haas past
In SynWrite lexer properties at the commenting tab i am adding:
Styles of comments:
Comments
Styles of strings:
Text,Separator,Parenthesis,Quote ... and all the Parsers i am editing.
Is this setup ok;