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

gettimothy gettimothy at zoho.com
Fri May 22 20:20:27 UTC 2020


Thank you.



I disabled my WIndow Manager's key binding and the menu popped up.



It appears that binding to the comment of a class is broken as it brings me to a Class Browser.



But that is o.k. the important thing is that I can create hyperlinks.



Thank you all very much.






---- On Fri, 22 May 2020 11:35:46 -0400 karl ramberg <karlramberg at gmail.com> wrote ----


Keybindings are a little cramped  (at least on windows).

Control+1 to 8 is docking bar menus.

Alt + numbers do different actions in text fields. Not sure where it is documented. 

The alt + numbers items are not reachable with mouse (+ control keys) I think.



If you swap/ duplicate control and alt it gets really confusing, and maybe not working.



Best,

Karl





On Fri, May 22, 2020 at 5:01 PM gettimothy via Squeak-dev <mailto:squeak-dev at lists.squeakfoundation.org> wrote:





Perfect! 



Thank you.



Copy-n-paste to a Workspace and the Link functionality still works.



I will investigate and incorporate. 



Fun fact, Alt-6 in X-Windows WindoMaker switches to Virtual Desktop 6 (so fast, I thought Squeak exploded with the keybinding! (: ), so I cannot use those bindings for the attribute menu.





Actually, that would be a fun keybinding  #explode 



cheers and thanks again.







---- On Fri, 22 May 2020 10:47:48 -0400 K K Subbu <mailto:kksubbu.ml at gmail.com> wrote ----


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200522/7a5795bd/attachment.html>


More information about the Squeak-dev mailing list