[Properties of individual characters or words]
>   After some reflection I think that contry is a bad example, most of the
> regular logical attributes should be word related and thus some sort of (simple)
> inset, and not font related.
> 
>   Will this simplify the underlying architecture?

I can only refer to the documentation that I wrote about the new kernel
from last year. All these issues are discussed in that document, and
the conclusion is the same as Lgb has come to:

We need a attributes with character resolution.
Call it CharAttrib, TextAttrib, CharParams, TextParams, or whatever.
It is all the same.

Beware: With the current LyX text representation data structure, we
might get a substantial increase in memory usage, unless a flyweigth
pattern is employed.

Regarding resolution: There is no point in limiting this support to
word boundaries, because then you can not reuse the mechanism for
the font attributes. Consider things like "_F_ile -> _S_ave".

Greets,

Asger

Reply via email to