Am 21.11.2022 um 19:00 schrieb Jürgen Spitzmüller <jspi...@gmail.com>:
> 
> Am Montag, dem 21.11.2022 um 18:53 +0100 schrieb Stephan Witt:
>> Not easy, this would require to rewrite the spell check chunk split
>> algorithm.
>> 
>> ATM the complete paragraph is passed to the Apple spell checker at
>> once.
>> Obviously it won’t mark the unlearned word as misspelled in this
>> case.
>> So LyX has to iterate in a 2nd pass over the paragraph and find the
>> unlearned words.
>> I’d rather suggest the person who wants that to switch to the
>> Hunspell engine.
> 
> OK, fair enough.
> 
>>> 
>> Yes, but I’d propose to add more values. 
>> At least UNLEARNED for exclude list and IGNORED for NO_SPELLCHECK
>> font.
> 
> OK.
> 
>>>>>> 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.
>> 
>> 
>> Sorry - I meant the context menu.
>> 
>>>> The font options dialog resets NO_SPELLCHECK on open.
>>> 
>>> Not here.
>> 
>> Here it is missing because of the spellcheck of the marked word
>> returns OK.
>> With the enum expansion mentioned above it would be possible to
>> handle that.
>> 
>> I don’t understand why we have different behavior here… see screen
>> shots below.
> 
> Strange. Something seems wrong in the Apple spellchecker chain. Is this
> also without your patches?

Yes. It is the same w/o the patches.

Stephan
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to