Ah sorry no it is not working as expected.

When I saved a modified method, the presenter got its source text
updated (good), but the morph view is reversed to its previous content.

Here is the code I use, anything wrong in the code bellow?

Thanks

Hilaire

sourceIn: composite ^ composite pharoMethod title: 'Source code'
translated; smalltalkClass: [ :each | each methodClass]; display: [
:aCompiledMethod | aCompiledMethod sourceCode ]; act: [ :presentation
:compiledMethod | compiledMethod methodClass compile: presentation text.
presentation update.] on: $s entitled: 'Save' translated

-- 
Dr. Geo
http://drgeo.eu



Reply via email to