Am 21.10.14 um 08:57 schrieb Allan Odgaard:
On 20 Oct 2014, at 23:58, Stefan Daschek wrote:
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.
Could also place the marks on the line numbers or maybe give them its own column, since we only need 3×3 points to render a plus sign. Main concern is to not making the marks API too complex or hardcoded.
Here's a quick mockup how I think the gutter marks for SCM status could look like, together with an error mark (icon taken from FontAwesome):
Making SCM indicators on consecutive lines visually “collapse” into a single indicator would greatly reduce visual clutter, I think.
No idea about how to represent deleted lines in this way, though :-/
Stefan