geany-plugins icon indicating copy to clipboard operation
geany-plugins copied to clipboard

[spellcheck] Hotkey to move to next instance

Open mixmastamyk opened this issue 1 month ago • 7 comments

Hi,

I often have long markdown documents etc and want to go from misspell to misspell and check them, one after another. Rather than searching for the red underline, which is hard to see when looking through dozens or hundreds of pages.

Mail clients for example usually have a dialog that does this. Though I'd be happy with a hotkey.

mixmastamyk avatar Nov 14 '25 22:11 mixmastamyk

You can enable the option "Print misspelled words and suggestions in the messages window" in the SpellCheck plugin preferences and then use the existing keybindings "Previous Message" and "Next Message" to navigate through the mispelled items.

eht16 avatar Nov 15 '25 15:11 eht16

Just tried it, and this workaround is not as good in my opinion. Doesn't make sense to force spell-checking into another pane when no other software does that.

Also, it doesn't update when the items are fixed. I had to clear the messages window and reload the file to refresh it every ten items or so. Quite clunky.

mixmastamyk avatar Nov 15 '25 22:11 mixmastamyk

Now it's opening the message window pane in an unrelated script. I don't use the message window in my Python programming. This is not very usable.

mixmastamyk avatar Nov 16 '25 03:11 mixmastamyk

Ok, I hoped it works well enough.

I'm going to add shortcuts for going back and forth of the misspelled words. I think this would fit in Geany itself as the SpellCheck plugin uses the same error markers as Geany for compilation errors and so the keybindings can be used for both.

eht16 avatar Nov 16 '25 22:11 eht16

Thanks.

mixmastamyk avatar Nov 17 '25 19:11 mixmastamyk

This is a good idea thank you for mentioning this and also thank you for adding this.

advice2020 avatar Nov 28 '25 01:11 advice2020

@mixmastamyk @advice2020 see https://github.com/geany/geany/pull/4483.

eht16 avatar Dec 09 '25 16:12 eht16