[TxMt] Re: Gutter marks precedence

Stefan Daschek stefan at daschek.net
Wed Oct 22 18:36:42 UTC 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20141022/809df4ef/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: faeceehi.png
Type: image/png
Size: 74502 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20141022/809df4ef/attachment-0001.png>


More information about the textmate mailing list