How to make a URL link in a TextMorph?

Ned Konz ned at bike-nomad.com
Tue Oct 9 17:02:18 UTC 2001


Drag a TextMorph out of the Objects tool.

Edit something like:

    go here<http://bike-nomad.com>

Select it; hit alt-6, choose "Be a web URL link".

Now it looks like:

    go here<http://bike-nomad.com>[No hidden info]

However, alt-6, "Edit hidden info" doesn't seem to do anything at all,

and alt-6, "Copy hidden info" causes a walkback when the first argument to 
addAttribute:toArray: is nil:

UndefinedObject(Object)>>doesNotUnderstand:
Text class>>addAttribute:toArray:
[] in Text>>addAttribute:from:to:
[] in RunArray>>mapValues:
OrderedCollection>>collect:
RunArray>>mapValues:
Text>>addAttribute:from:to:
Text>>addAttribute:
TextMorphEditor(ParagraphEditor)>>changeEmphasis:
TextMorphEditor(ParagraphEditor)>>dispatchOnCharacter:with:
TextMorphEditor(ParagraphEditor)>>readKeyboard
TextMorphEditor>>readKeyboard
[] in TextMorph>>keyStroke:
TextMorph>>handleInteraction:fromEvent:
TextMorph>>keyStroke:
TextMorph>>handleKeystroke:
KeyboardEvent>>sentTo:
TextMorph(Morph)>>handleEvent:
TextMorph(Morph)>>handleFocusEvent:


Am I missing something here?

How do you make a URL link in a TextMorph? (I assume it's possible, since the 
menu items are there...)

-- 
Ned Konz
currently: Stanwood, WA
email:     ned at bike-nomad.com
homepage:  http://bike-nomad.com




More information about the Squeak-dev mailing list