I tested it in Pharo 3.0 30852 (Mac). Doru
On Wed, Jul 23, 2014 at 6:33 PM, Nicolai Hess <[email protected]> wrote: > Where did you test this? > > > (TextMorph new contents: (Text string: 'hi there' attribute: > (TextEmphasis > underlined))) openInHand. > > Works for me. > > (Pharo 40120 windows 7) > > > > 2014-07-23 6:39 GMT+02:00 Tudor Girba <[email protected]>: > > Strange indeed. >> >> Rubric supports this well: >> (RubEditingArea new updateTextWith: (Text string: 'hi there' attribute: >> TextEmphasis underlined)) openInWindow. >> >> Cheers, >> Doru >> >> [image: Inline image 1] >> >> >> On Wed, Jul 23, 2014 at 6:23 AM, Sean P. DeNigris <[email protected]> >> wrote: >> >>> I was surprised that the following does not show an underline: >>> (TextMorph new contents: (Text string: 'hi there' attribute: >>> (TextEmphasis >>> underlined))) openInHand. >>> ... especially since the first line in TM's class comment is "TextMorphs >>> support display of text with emphasis" >>> >>> Any ideas? >>> >>> p.s. the emphasis is there, it's just not being displayed. When I copy >>> the >>> text to the clipboard and paste in the workspace via "Clipboard >>> clipboardText: (Text string: 'hi there' attribute: (TextEmphasis >>> underlined))", I see the underline for a split second before the syntax >>> highlighting happens. >>> >>> >>> >>> ----- >>> Cheers, >>> Sean >>> -- >>> View this message in context: >>> http://forum.world.st/TextMorph-No-Emphasis-tp4769458.html >>> Sent from the Pharo Smalltalk Developers mailing list archive at >>> Nabble.com. >>> >>> >> >> >> -- >> www.tudorgirba.com >> >> "Every thing has its own flow" >> > > -- www.tudorgirba.com "Every thing has its own flow"
