With geany-plugins-0.21.1 on geany-0.21, I think the following behavior could be improved: If you do a
$ echo -n "The quik brown fox jumps over the lazy dog.\n\n\n" > foo.txt
$ geany foo.txt
and then activate the "spell check as you type" button in geany, the misspelled word "quik" does not get underlined. If you start typing in line 4, also nothing happens. Only if you start to edit the first line (the one with the typo), the word gets underlined.
I often write long LaTeX documents in geany, which are edited by a couple of people. I realized just now that there is a keyboard shortcut one can define, in order to check the entire document. This is quite hidden though (I feel), and I think a check of the entire document should be performed when the "check while typing" button is activated, especially since it's the only GUI element for the spellcheck plugin.
Consider the following quick and dirty patch:
diff src_orig/gui.c src/gui.c
> if (sc_info->check_while_typing)
< static void perform_check(GeanyDocument *doc)
> void perform_check(GeanyDocument *doc)
diff src_orig//gui.h src/gui.h
> void perform_check(GeanyDocument *doc);
This does what I am looking for, however it makes something else apparent: when you turn "check as you type" off, the red squiggly underlinings are not removed. I think this should also be done, but I didn't see a quick solution.
Thanks for considering, and thanks for geany-plugins in the first place.