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

> Selon Dov Feldstern <[EMAIL PROTECTED]>:
>
> > Jean-Marc Lasgouttes wrote:
> > > Mael Hilléreau <[EMAIL PROTECTED]> writes:
> > >
> > >> 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).
> > >
> > > I have to say that I do not like that at all: we should never hardcode
> > > layout names.
> > >
> >
> > Agreed. But how *should* this kind of thing be done?
>
> Agreed too. As it makes no sense to spellcheck LyX-Code paragraphs, the only
> way
> left would be to add a "NoSpellcheking [bool]" keyword to layout files.

This updated patch adds the keyword "NoSpellcheck [int]" to layout files. Note
that I modified files "Layout.cpp" and "Layout.h" into "src/", but not into
"src/tex2lyx/". At first sight, it seems that the latter are copies of the
former, and I don't understand actually why... I'm not sure of what should be
done in this respect if the patch would have to be applied (just copy them...?).

Mael.

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

Reply via email to