[LyX/master] Meet per-document spelling dictionaries (fixes #86 [sic!])

Stephan Witt st.witt at gmx.net
Sun Mar 7 12:24:53 UTC 2021


Am 07.03.2021 um 12:35 schrieb Jürgen Spitzmüller <spitz at lyx.org>:
> 
> Am Sonntag, dem 07.03.2021 um 11:24 +0100 schrieb Stephan Witt:
>> On Mac it doesn’t work well.
>> 
>> 1. Mark a word as ignored per-document.
>> 2. Save it.
>> 3. Close it.
>> 4. Reopen it.
>> 5. The ignored word is misspelled.
>> 6. Open context-menu w/o doing any action and close it.
>> 7. Word is not misspelled anymore.
>> 
>> My example document is attached.
> 
> Did you update inbetween? I have changed the syntax of the buffer param
> today, so documents saved before 0b42f77551 lost their dictionaries.

Yes.

> As to the examples: I don't know how they are meant to be interpreted.
> Spellcheck-1.lyx has "unrrund" in the dictionary, and this does not get
> marked when I open it (as expected). Spellcheck-2.lyx doesn't have an
> item in the dictionary, and, as expected, "unrrund" is marked.

Yes, sorry. I’ve changed my mind what to attach after the mail text was finished.

The first document has local dictionary and the second document not. 
So it’s easy to test the effects of the change.

The second document has „unrrund“ mis-spelled all the time and this is ok.

The first document has „unrrund“ in local dictionary and therefore it shouldn’t
marked as mis-spelled. On Mac the spellchecker doesn’t check words - it checks
paragraphs and so it misses the entries in local dictionary.

That’s not easy to fix.

Stephan


More information about the lyx-devel mailing list