Selon Mael Hilléreau <[EMAIL PROTECTED]>:

> Selon Mael Hilléreau <[EMAIL PROTECTED]>:
>
> > ... On the other hand, there could be a much more simple solution:
> >
> > 1. Disable spellcheck for any code-inset (LyX code, listings...) -- perhaps
> > it's already the case;
>
> I believe it is.

No, in fact it wasn't the case with LyX-Code. I updated the patch so that
LyX-Code paragraphs are no more spellchecked (see attached).

> > 2. Add only one checkbox to spellcheck dialog: something like "Spellcheck
> > only
> > (what goes to) output", or just "Ignore spellcheck for notes and disabled
> > branches";
>
> The attached patch adds a checkbox to Preferences>Language
> settings>Spellchecker
> that allows enabling/disabling spellchecking for text not going to output
> (notes
> and disabled branches, actually).
>
> I'm not sure if we may consider that it solves bug 1509.
>
> > 3. Introduce something else to deal with instance level. IMHO a special
> inset
> > would be better than the language "none"... (less confusing: none ~ not
> > foreign = document language)
>
> I'll let this one to someone else ;) This is bug 1042.
>
> > JMarc, not too much gas pipes in this plant, don't you think? ;)
>
> Comments are welcome :)

I'd be happy if this would be sufficient for solving bug 1509 :) I'm waiting for
your comments about this patch. JMarc?

Mael.

Attachment: spellcheck-only-output-v2.patch
Description: Binary data

Reply via email to