Le 15 août 07 à 12:05, Helge Hafting a écrit :
A type-level approach would be as much simple (at least): just use
what is already implemented: insets and layouts. The
Inset::allowSpellcheck() method is already there, and what I
propose is just to use it. If you have one note inset now, you'll
have one note inset next; the only difference is that it won't be
spellchecked because its allowSpellcheck() function will return
false.
Looks fine...
Screen redrawing doesn't need anything more, frame and background
are already visible enough.
A frame? Will this impose the same limitations as an ERT frame?
I will find it useful to mar as "no-spellcheck" a region that
starts in the
middle of some line and end in the middle of the next line on screen.
Anything framed will break up on-screen layout - a big distraction.
Marking something "non-spellcheck" should not affect the
line-breaking on the screen, just like coloring the text doesn't
affect the line-breaking. If you can avoid such problems - fine.
Yes, by "frame" I meant something that would integrate seamlessly
into paragraphs (the 3-box-drawing approach that Andre advocates
would be very well suited for that).
Mael.