Hi Nicolai Good idea! I like it and it works well. I now wonder if it should not be enabled as default. For that, maybe the highlight should be styled a bit (e.g. lighter colors) to do not perturb the user when not really needed but still easy to see. Another idea would be to show it only if you press a key while mouse over (e.g shift). thanks
Le 10 août 2016 à 16:48, Nicolai Hess <nicolaihess@gmail.com> a écrit :
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