Hi,

In the method bellow, when the method is recompiled, the presenter's
text is still the same (i.e. select another method, then the modified
method: the former source code is still presented).

How to request an update of the presenter's text with the newer method
source?

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

Thanks

Hilaire

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



Reply via email to