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"

Reply via email to