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. > 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 :) Mael.
spellcheck-only-output.patch
Description: Binary data