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 <dionisi...@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 <dionisi...@gmail.com 
> <mailto:dionisi...@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 <leuenber...@inf.unibe.ch 
> <mailto:leuenber...@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.s...@gmail.com 
>> <mailto: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
>> 
> 
> 
> 

Reply via email to