[Pharo-dev] TxText model

Stephan Eggermont stephan at stack.nl
Mon Apr 4 12:43:41 EDT 2016


On 04-04-16 16:47, Thierry Goubier wrote:
> A short look through the layout part of it and I saw it has support 
> for arbitrary object spans. It also supposes a certain API from it's 
> model (interacting back to indicate where lines should be ended). A 
> text is a list of spans, isn't it? And spans are flat (no span inside 
> span). One could imagine extending attributes for spans / type of 
> spans and get customized rendering / handling for those. 
Yes, a flat list of spans vs a composite structure might cause 
performance problems.

Stephan




More information about the Pharo-dev mailing list