Altered method code displayed in browser after accept (3.4 #5170)
Chris Becker
chbecker at neo.rr.com
Thu May 15 19:43:31 UTC 2003
> From: Andreas Raab
> Ah, that explains a lot. From CodeHolder>>selectedMessage
>
> (Sensor controlKeyPressed
> or: [method fileIndex > 0 and: [(SourceFiles at: method
> fileIndex) == nil]])
> ifTrue:
> ["Emergency or no source file -- decompile without temp
> names"
> contents _ (class decompilerClass new decompile:
selector
> in: class method: method)
> decompileString.
> contents _ contents asText makeSelectorBoldIn: class.
> ^ contents copy].
Wunderbar!
I commented out the "Sensor controlKeyPressed" part of the condition and
so far it seems to work.
Thank you, Andreas. Thanks also to Bob, Ken, Ned, and Emilio.
Chris Becker
More information about the Squeak-dev
mailing list
|