pharo-project / pharo

Pharo is a dynamic reflective pure object-oriented language supporting live programming inspired by Smalltalk.
http://pharo.org
Other
1.21k stars 356 forks source link

Add `CompiledBlock>>#browse` and `BlockClosure>>#browse` #17335

Open iglosiggio opened 2 weeks ago

iglosiggio commented 2 weeks ago

This change allows the browse action to be a bit more intuitive. The implementation highlights the text if the method is installed. If the method is not instaled then it may happen that there's not an equivalent block in the installed version, so it just tries to show a method with that name (like CompiledMethod>>#browse).