[squeak-dev] The Trunk: Collections-mt.886.mcz

Tobias Pape Das.Linux at gmx.de
Wed Apr 22 07:41:14 UTC 2020


> On 22.04.2020, at 09:19, Marcel Taeumel <marcel.taeumel at hpi.de> wrote:
> 
> > .. why? o_O
> 
> Because Text is the visual companion for String. With Text, you can add various attributes to shape the visual appearance of String such as through emphasis, color, and other font-related things. Fonts are already in the Graphics package. TextStyle, too. A version of NewParagraph that would be independent from Morphic would fit into the Graphics package, too.
> 
> So many reasons. :-)

I'd rather have its own package. I don't think about most of text in the domain of graphics ;D

-t

> 
> Best,
> Marcel
>> Am 21.04.2020 20:39:38 schrieb Tobias Pape <das.linux at gmx.de>:
>> 
>> 
>> > On 21.04.2020, at 16:59, Marcel Taeumel wrote:
>> > 
>> > Hmm... Text might as well be moved to the Graphics package....
>> 
>> 
>> .. why? o_O
>> >> Am 20.04.2020 20:03:52 schrieb Jakob Reschke :
>> >> 
>> >> Am Mo., 20. Apr. 2020 um 14:04 Uhr schrieb Marcel Taeumel :
>> >> > It has nothing to do with collections.
>> >> 
>> >> Why not? The target format, Text, is a Collection.
>> >> 
>> >> 
>> >> By today's nomenclature, yes. But I'd even say that a Text is more than a general-purpose Collection and could well belong in its own package. That can also contain HTML or Markdown stuff if desired.
>> > 
>> 
>> 
>> 
> 




More information about the Squeak-dev mailing list