[squeak-dev] TextMorphs support display of text with emphasis. They also support reasonable text-editing capabilities, as well as embedded HOT LINKS

K K Subbu kksubbu.ml at gmail.com
Fri May 22 14:47:48 UTC 2020


On 22/05/20 5:55 pm, gettimothy via Squeak-dev wrote:
> 
> In Emacs, to navigate to the link, I type Ctrl-o   to open it .

select text in any text pane and press ALT/CMD-6 to open attribute menu. 
You can see such hotlinks in action if you look at Help->Core Packages. 
Class names are linked to their definitions.

> Now, the links do not have to be hypertext to the WWW, links to 
> HelpBrowser on a topic would be useful.

See TextAction class. Its subclasses are used for hotlinking. See 
SmalltalkEditor>>handleEmphasisExtraWith: for an example of its use in 
text editor.

HTH .. Subbu


More information about the Squeak-dev mailing list