I'm currently adding gutter mark support to the RSpec bundle. It works, but marks set by the SCM Diff Gutter bundle seem to take precedence: If I try to set an error mark in a line thats already marked as “changed”, it isn't visible. How could that be solved?
Right now there is no solution, but I’ll give marks with an associated value higher z-level than those without, so if you set a warning/error mark with associated text, it will (in the near future) eclipse the SCM gutter marks.
Great, thanks! That should work for the most cases.
Have you considered simply displaying the mark images on top of each other in this cases? I have this vague idea of using a thin, colored line for SCM status (e.g. green for added, orange for changed) – if those images were built to show the line at the very left (or right) edge of the gutter, combining them with other mark images could work quite well.
Of course this solution doesn't really scale if there's more than one “central” gutter image. But I think, especially with SCM Diff Gutter, competing gutter images will happen quite frequently.
Stefan.