>i havent looked into it, but the document model seems to be running into
>deep method call paths, perhaps node listeners are entering invalidate or
>layout or somesuch

Yes, node views listen to their associated nodes to detect changes and 
invalidate their branch of the document view. This is fairly efficient since 
only the affected branch is invalidated.

>for example one possible model is an attributed CharSequence like text and
><span>text</span>

An attributed character iterator still needs to iterate over some kind of model 
that contains the formatting data; i.e. a DOM.

>i think this is the kind of model employed in performant solutions
>the renderer has some style attributes on the (jvm) stack like font and size
>and color, and paints text and increments for newlines

This is approximately how TextAreaSkin will ultimately handle formatted text.

Reply via email to