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

> To character level?? I don't understand. The spellchecker allows to skip at
> word
> level. What we need is to skip some parts at a higher level: specific
> instance
> of an inset, or some type of inset (bugs 1042 and 1509 deal with this).
>
> IMO the inset-type level is more interesting:
>
> * on one hand, it could allow to ignore some inset types such as notes,
> comments, code, etc. (this info could perhaps be stored into layout files);
>
> * and on the other hand, we could define a special inset to deal with
> arbitrary
> regions: it would only ignore spellchecking. This would need that its
> instances
> could incorporate (and be incorporated in) any kind of inset instance.

We could think of a more sophisticated behavior: in the layout files, the
keyword (e.g. spellchecking) could store one of 3 values: on/off/select. "on":
spellcheck the inset; "off": don't spellcheck the inset; and "select": choose
from the spellchecking dialog whether to spellcheck or not.

This would allow to enable/disable spellchecking at runtime for some document
parts. However, I admit that this last proposal would probably need much more
code to be written... The on/off values would be already great.

Mael.

Reply via email to