It’s installed through a meta-link on AbstractNautilusUI >> #addIconStyle and uses RubConfigurationChange to announce on the editor’s sourceTextModel. It is not yet a proper Nautilus plugin and should be portable to Calypso, as it still uses Rubric.
> On 7 Sep 2017, at 07:53, Stephane Ducasse <stepharo.s...@gmail.com> wrote: > > Hi Manuel > > This is coooooool. > How linked to nautilus it is? > > Stef > > On Wed, Sep 6, 2017 at 1:52 PM, Manuel Leuenberger <leuenber...@inf.unibe.ch > <mailto:leuenber...@inf.unibe.ch>> wrote: > Hi everyone, > > I built a little syntax highlighting extension for the Nautilus source code > pane, which puts a background color behind blocks, so that nested blocks are > easily recognizable. > > <highlight.png> > > Install with: > > Metacello new > baseline: 'BlockStyler'; > repository: 'github://maenu/BlockStyler/repository <>'; > load > > GitHub: https://github.com/maenu/BlockStyler > <https://github.com/maenu/BlockStyler> > > Doesn’t work with “Format as you read”, just as the IconStyler. If anybody > has an idea how to integrate it properly into Nautilus as a plugin, let me > know. Currently it’s an ugly meta-link hack to get access to the > sourceTextModel. > > Cheers, > Manuel >