[squeak-dev] The Inbox: Monticello-pre.623.mcz

Tobias Pape Das.Linux at gmx.de
Thu Nov 12 09:03:16 UTC 2015


On 12.11.2015, at 09:20, marcel.taeumel <Marcel.Taeumel at hpi.de> wrote:

> PluggableListMorphs and their LazyListMorph companions work with strings
> only. However, there is that "...emphasisAt: 1" check, which will be applied
> to the font setting:
> 
> LazyListMorph >> #display:atRow:on:
>   ...
>   emphasized := itemAsText isText 
>      ifTrue: [font emphasized: (itemAsText emphasisAt: 1)] 
>      ifFalse: [font].
>   ...
> 
> This will only work with properties such as underlined, bold, and italic.
> Color would have to be used in the Canvas >> #drawString:in:font:color:
> call.
> 
> We could try to squeeze out that color information, too. Let me see...

That would be so great!

Best
	-Tobias


More information about the Squeak-dev mailing list