Am Freitag 17 September 2010 schrieb Stephan Witt: > Am 17.09.2010 um 18:20 schrieb Kornel Benko: > > Am Freitag 17 September 2010 schrieb Stephan Witt: > >> Am 17.09.2010 um 08:09 schrieb Stephan Witt: > >>> Am 15.09.2010 um 13:11 schrieb Kornel Benko: > >>>> Everything works as expected, but some words with "dot" are not > >>>> recognized as correct. > >>>> > >>>> Say, I want enter "ggf.". This word is marked as not ok, but right > >>>> klick shows as 1. alternative "ggf.". Selecting it I now have > >>>> "ggf..", but still marked. > >>> > >>> I'm trying to solve that issue. > >>> > >>> To fix this I tried to change the spell-check for "word-wise" checkers. > >>> I test the character directly following the word and pass it onto the > >>> speller when a "." is detected. Now it works for hunspell. > >>> But I'm not sure about Aspell. It didn't help and now the end of > >>> sentence is misspelled too. A clean solution is not so easy. Perhaps > >>> the check with the trailing dot has to be repeated without the dot if > >>> it failed. Or vice-versa. Not nice... > >> > >> The patch is as follows. Ok to apply? > >> > >> Stephan > > > > Thanks, this works now for the spellcheck. > > That's good. > > > But for instant checking it still shows the word as misspelled. > > Really? This I can hardly believe... > Here both modes work. And for the hunspell checker the platform shouldn't > matter.
Really. The same is valid for enchant. Aspell does even not find this word ... But wait, for some reason it stopped working ... I attach a test-case. The spell-checker even marks the word as english after accepting ... > I'll commit the patch then. > > Stephan OK, Kornel
Test-ggf.lyx
Description: application/lyx
signature.asc
Description: This is a digitally signed message part.