Hannes, What is the name of the class? There is an ugly trap in MorphicModel class >> acceptsLoggingOfCompilation ^ self == MorphicModel or: [(name last isDigit) not] MorphicModel has many subclasses. Their method sources will not be saved if the class name ends in a digit!!
I hope this is it. If not, we have more work to do.
Good luck, --Trygve
At 09:37 24.12.2004, you wrote:
In the 3.8gamma image where I have SRE working,
I write for example the follwoing method:
showTab: anInteger self removeMorph: currentTab. currentTab := panes at: anInteger. self addMorph: currentTab frame: (0 @ 0.1 corner: 1.0 @ 1.1)
After I have choosen 'Accept' the method is displayed as
showTab: t1 self removeMorph: currentTab. currentTab := panes at: t1. self addMorph: currentTab frame: (0 @ 0.1 corner: 1.0 @ 1.1)
So parameters and local variables are replaced by other names (t1,t2,t3.....)
Trygve,
Your hint solved the problem. I renamed a class ending with Demo3 to ThirdDemo and now it works.
I now use this tool in my developing image, where it serves as an excellent aid as it allows to do mind-map like drawings (something simliar as classic UML diagrams but better adapted to Smalltalk). Each node leads directly to various browsers. It is very handy to do a quick sketch and reduces the time to understand a design considerably. (This includes my own designs I did two years ago). Together with the Refactoring Browser and Monticello this is now an updated tool set to code better.
Thank you again for this tool.
Hannes
Quoting Trygve Reenskaug trygver@ifi.uio.no:
Hannes, What is the name of the class? There is an ugly trap in MorphicModel class >> acceptsLoggingOfCompilation ^ self == MorphicModel or: [(name last isDigit) not] MorphicModel has many subclasses. Their method sources will not be saved if the class name ends in a digit!!
I hope this is it. If not, we have more work to do.
Good luck, --Trygve
At 09:37 24.12.2004, you wrote:
In the 3.8gamma image where I have SRE working,
I write for example the follwoing method:
showTab: anInteger self removeMorph: currentTab. currentTab := panes at: anInteger. self addMorph: currentTab frame: (0 @ 0.1 corner: 1.0 @ 1.1)
After I have choosen 'Accept' the method is displayed as
showTab: t1 self removeMorph: currentTab. currentTab := panes at: t1. self addMorph: currentTab frame: (0 @ 0.1 corner: 1.0 @ 1.1)
So parameters and local variables are replaced by other names
(t1,t2,t3.....)
--
Trygve Reenskaug mailto: trygver <at> ifi.uio.no Morgedalsvn. 5A http://heim.ifi.uio.no/~trygver N-0378 Oslo Tel: (+47) 22 49 57 27 Norway
--
Trygve Reenskaug mailto: trygver <at> ifi.uio.no Morgedalsvn. 5A http://heim.ifi.uio.no/~trygver N-0378 Oslo Tel: (+47) 22 49 57 27 Norway
--
Trygve Reenskaug mailto: trygver <at> ifi.uio.no Morgedalsvn. 5A http://heim.ifi.uio.no/~trygver N-0378 Oslo Tel: (+47) 22 49 57 27 Norway
squeak-dev@lists.squeakfoundation.org