PackageDescription: ExternalWebBrowser-Text
External Web Browser - TextLast published: September 15, 2009 by 'kgreek'
Defines 0 Classes
Extends 8 Classes
When used with the ExternalWebBrowser package this package will give you hyperlink click support on text that has been emphasized with #href. One way to add that emphasis is to send the message #addHyperlinkEmphases to a Text instance which will automatically add the emphasis for you.
Here is an example that will open a window on some text with clickable hyperlinks.
ComposedTextView
edit: 'CincomSmalltalk http://www.cincomsmalltalk.com\Space Weather http://www.spaceweather.com' withCRs asText addHyperlinkEmphases asValue
label: 'Cincom Smalltalk'
icon: (Icon constantNamed: #workspace)
extent: 400@300
Previously visited links are held in the Visited class shared variable on Text.