And I merged it, thanks Denis for Calypso support and getting rid of meta-link trickery. Themes are now supported as well. It only brakes on Watery + Calypso, but I think this is a Calypso issue, not introduced by BlockStyler.
On 7 Sep 2017, at 12:07, Denis Kudriashov <dionisiydk@gmail.com> wrote:
And I did pull request https://github.com/maenu/BlockStyler/pull/1 <https://github.com/maenu/BlockStyler/pull/1> which simplifies everything. There are already IconStyler hierarchy for such kind of extensions. So I adopt your code for this and remove metalink tricks. Also I move settings directly to the BlockStyler class
2017-09-07 11:37 GMT+02:00 Denis Kudriashov <dionisiydk@gmail.com <mailto:dionisiydk@gmail.com>>: Hi.
I will look. Maybe Calypso plugins are already able to do this kind of extensions
2017-09-07 9:58 GMT+02:00 Manuel Leuenberger <leuenberger@inf.unibe.ch <mailto:leuenberger@inf.unibe.ch>>: 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.self@gmail.com <mailto:stepharo.self@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 <leuenberger@inf.unibe.ch <mailto:leuenberger@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