Home Download Buy Blog Forum Support

Multiple gutter icons: how to decide which is visible?

Multiple gutter icons: how to decide which is visible?

Postby rDr4g0n on Mon Sep 09, 2013 5:29 pm

I am writing a plugin that uses gutter icons, and have found that if there is already a gutter icon on the selected line, then my gutter icon is not visible. Is there a way to ensure my icon is visible without removing the existing icon/region?

to clarify a bit, my plugin places gutter icons to denote breakpoints, and if I am using gitgutter, the gitgutter icons take priority over my breakpoint icons. i need my icons to take priority without being able to access the other plugin's icons.
rDr4g0n
 
Posts: 7
Joined: Tue Aug 27, 2013 6:11 pm

Re: Multiple gutter icons: how to decide which is visible?

Postby iolo on Thu Feb 27, 2014 12:32 pm

I'd like to be able to specify my own order according to what I deem most important, preferably in the settings in some form of array: e.g.

Code: Select all
gutter_order: [
  "SublimeLinter", // Most important
  "BracketHighlighter",
  "GitGutter"
  "*" // any others
]
iolo
 
Posts: 1
Joined: Thu Feb 27, 2014 12:26 pm


Return to Plugin Development

Who is online

Users browsing this forum: Clams and 5 guests