[PATCH] Allow removing words from the personal dictionary, that weren't previously added

Jürgen Spitzmüller jspitzm at gmail.com
Sun Nov 20 11:40:25 UTC 2022


Am Sonntag, dem 20.11.2022 um 12:34 +0100 schrieb Stephan Witt:
> Yes, it never worked before.
> 
> If unlearnWord is called it has an effect for learned words only.
> 
> There is no call interface to unlearn a word in main dictionary.

I see. But wouldn't it be possible to use an exception list here, too?

> Yes, this probably is an effect of the handling of the spell checker
> result in LyXs hunspell interface implementation.
> 
> The solution would be to add and use more SpellChecker::Result values
> in HunspellChecker::check() to get the option to differentiate here.

Should be done. As it is now, it is more confusing than helpful. The
difference between OK and LEARNED does indicate this very difference,
doesn't it?

> 
> > > 2. There is no context menu option to revert the
> > > LFUN_FONT_NO_SPELLCHECK. 
> > > One may use the font options dialog - but opening it resets the
> > > NO_SPELLCHECK from word immediately.
> > 
> > There is: "Ignore This Occurrence". It shows when opening the
> > context
> > menu upon a misspelled word. This triggers the LFUN.
> 
> Yes, but the „Unignore“ option is not in drop-down menu.

What do you mean by "drop-down" menu? It is in the context menu and in
the spell checker dialog.

> The font options dialog resets NO_SPELLCHECK on open.

Not here.

> 
> Stephan

-- 
Jürgen


More information about the lyx-devel mailing list