Browse class references to the ���NautilusClassSelected��� Announcement, I see a mention of a method called #showScriptCode: when it subscribes to that announcement, perhaps that���s the one you need?
This is in contrast with #showSourceCode:, which is used in the subscription of the NautilusProtocolSelected and NautilusMethodSelected announcements. I think the difference lies between those methods.
> On Dec 9, 2015, at 2:16 PM, Damien Cassou <damien.cassou@inria.fr> wrote:
>
> Hi,
>
> in short: in which method is Nautilus adapting source-code highlighting
> based on the selection (class or method)?
>
> slightly longer: With Marco Naddeo we wanted to add ini-modules to
> Nautilus. Because an ini-module definition is a Smalltalk expression
> (just like a class definition), we want Nautilus to do source-code
> highlighting of an ini-module the same way it does for class
> definitions. How is Nautilus changing the source-code highlighting
> process depending on the selection (class or method)?
>
>
> Thank you
>
> --
> Damien Cassou
> http://damiencassou.seasidehosting.st
>
> "Success is the ability to go from one failure to another without
> losing enthusiasm." --Winston Churchill
>