[TxMt] Re: showing preview of css colors

Allan Odgaard mailinglist at textmate.org
Tue May 24 12:18:06 UTC 2016


On 24 May 2016, at 14:07, Fabian Zeindl wrote:

> I think TextMate bundles could be made much more powerful by allowing 
> to modify the gutter a bit.

There actually is API to show images in the gutter with associated tool 
tips.

So technically this could be done by having a bundle command generate 
the image and set this in the gutter, e.g. on save (this is similar to 
how the SCM diff markers work).

I’ve been meaning to add a “did load” hook so bundles can update 
the gutter once a file is opened.


More information about the textmate mailing list