2016-08-10 16:48 GMT+02:00 Nicolai Hess <nicolaihess@gmail.com>:
I opened an issue
18901 <https://pharo.fogbugz.com/f/cases/18901/Highlight-message-send-selector-on-m...> Highlight message send selector on mouse over
with an experimental implementation.
Just load the slice, enable the setting: RubAbstractTextArea highlightMessageSend: true.
Now open a code editor (nautilus/MessageBrowser) and move the mouse over a message send.
Or evaluate this code, it opens a text editor on a method, where it is difficult to see which part of the code belongs to which method:
evaluate: TextModel new beForCode; aboutToStyle:true;behavior: MorphTreeMorph;text:(MorphTreeMorph>>#drawLinesOn:) sourceCode;openWithSpec.
feedback welcome.
nicolai
Attached a screenshot. The mouse cursor is over the #submorphsDo: message, the highlighter highlights the message and all that is part of its arguments (the big block).