<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br class=""><blockquote type="cite" class="">On 24.05.2016, at 14:00 , Igor K <<a href="mailto:me@igorkozlov.me" class="">me@igorkozlov.me</a>> wrote:<br class=""><br class="">I think you're right. I cant remember what editor I saw which uses this... maybe Atom or Sublime, and also vim with a plugin.<br class=""><br class="">Probably you're talking about this plugin: <a href="https://github.com/abe33/atom-pigments" class="">https://github.com/abe33/atom-pigments</a><br class="">AFAIK, there's no way to implement this without modifying TextMate source code.<br class=""></blockquote><div class=""><br class=""></div><div class="">IntelliJ Idea displays a tiny coloured square in the gutter next to any line (not just CSS) that contains a color-value:</div><div class=""><br class=""></div><div class=""><img apple-inline="yes" id="B996AA73-BA35-4FC3-A938-B3631B6F0801" height="122" width="164" apple-width="yes" apple-height="yes" src="cid:DEAAC291-5B86-43A1-A766-BEFECF04AB09" class=""></div><div class=""><br class=""></div><div class="">I think TextMate bundles could be made much more powerful by allowing to modify the gutter a bit.</div><div class=""><br class=""></div><div class="">API:</div><div class="">* paint into a rectangle in the gutter (per html?)</div><div class="">* act on click and hover there (including screen coordinates maybe)</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>