[Github-comments] [geany/geany-plugins] 4 mistakes in spellcheck (#1035)

Enrico Tröger notifications at xxxxx
Sun Jun 13 15:54:32 UTC 2021


Each of the "mistakes" is based on a misunderstanding of the toolbar symbol: 
it is meant as a switch to enable or disable the spell checking while you are typing.
Clicking the icon is not meant as "check the document now". For this, there is the menu item and keybindings.


> mistake 1
> reproduce:
> geany is opened; a document is opened; the spellcheck-symbol is deactivated in the symbol-bar;
> click spellcheck-symbol; some words are marked;
> now close geany; reopen the document; document appears in geany; spellcheck-symbol is still activated;
> problem:
> words are not marked although spellcheck-symbol is activated; the spellcheck-symbol need to be clicked 2x to let appear the markings;
> possible solution:
> if spellcheck-symbol is activated, then the markings should be visible

It seems to be related to the misunderstanding explained above.
There is an option in the plugin preferences to enable checking documents when they are opened.
This probably comes close to what you expected. Be aware, if you start Geany with a couple of documents
opened from the last session, those documents will not be checked.


> mistake 2
> reproduce:
> geany is opened; a document is opened; the spellcheck-symbol is deactivated in the symbol-bar;
> now use the shortcut "execute spellcheck" (or something like that; I don't use the English version);
> problem:
> the shortcut works but the spellcheck-symbol stays deactivated;
> possible solution:
> spellcheck-symbol should also be activated

It seems to be related to the misunderstanding explained above.


> mistake 3
> reproduce:
> geany is opened; a document is opened; the spellcheck-symbol is deactivated in the symbol-bar;
> in the text are some lines with some mistakes;
> press the shortcut "spellcheck on/off" (or something like that; I don't use the English version);
> problems:
> there is no spellcheck at all;
> go in the middle of the text and type some wrong words; only the current line will be checked; lines before and after will not be checked;
> possible solution:
> the shortcut should have exactly the same behavior like the spellcheck-symbol: check ALL text of the document right away;
> reason: every time the shortcut "spellcheck on/off" is pressed, the spellcheck-symbol changes in on/off

It seems to be related to the misunderstanding explained above.
This is intended behaviour, toggling the "spellcheck while typing" feature does **not** trigger a full recheck of the document but only for these lines which were touched since toggling on.

 
> mistake 4
> reproduce:
> geany is opened; a document is opened; the spellcheck-symbol is deactivated in the symbol-bar;
> press the shortcut "spellcheck on/off" (or something like that; I don't use the English version);
> now write some wrong words; press again the shortcut "spellcheck on/off"
> problem:
> current markings do not go away;
> possible solution:
> the text of the spellcheck-symbol is exactly the same like the shortcut, so they should have the same behavior: on/off of ALL markings;
> reason: every time the shortcut "spellcheck on/off" is pressed, the spellcheck-symbol changes in on/off

It seems to be related to the misunderstanding explained above.
The "spellcheck while typing" is not meant as toggling the spellcheck feature completely but only the automatic checking while typing. This is intended behaviour.
If you want to have just the error markers being removed, use "Document -> Remove error indicators" (there are also keybindings available).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1035#issuecomment-860232831
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210613/9af40752/attachment.htm>


More information about the Github-comments mailing list