MW/UML Tool/CodeMorph/Beginners Workspace was RE: [Enh] CodeMorph for better squeak documentation

Torsten.Bergmann at phaidros.com Torsten.Bergmann at phaidros.com
Fri May 5 08:11:46 UTC 2000


Thanks to Markus for the Change but the code morph is not
needed anymore. Squeak includes such functionality already
(I didnt know this when I implemented the morph)

Open a new TextMorph, enter 1 inspect and select the text.
Press Cmd-6 (Alt+6) and select active. You can now click on the text
and it gets evaluated.
This also works in Workspaces - here you can mark pieces 
of text as links to classes, URL's, doIt's, ...
(That's the way Squeak central did the workspaces in the PWM's)

Maybe someone has the time to change the TextMorph that it supports
all the styles you have in a normal workspace. 

I also would like to see that beside the "DoIt" command there is 
also a "Inspect it". This is good if you want to provide a beginner
workspace where the user can click on easy examples like
	1 negated
	3 + 4

without confusing him if you always send #inspect afterwards. Then 
we could provide a workspace for beginners like Ivan Tomek mentioned. 

Gerardo Richarte wrote:
>Have you ever tried MorphicWrappers (I'm feeling like I'm going to make 
>everybody skip my messages if I keep talking about MWs... sorry) 

Gerardo - this is'nt true. I like morphic wrappers and I really 
would like to see MW in the normal squeak release. (I think a lot of people
like it also). 
But it should be an option If the morphic world supports "typing in the
air".
Maybe ClassWrappers could also be extended to support relationships
(lines and wires like in PWM 6) for inheritance. Could be the startpoint for
a small Squeak Case tool. 

What do you all think about this ?

Torsten












More information about the Squeak-dev mailing list