[TxMt] Re: Change colors for diff output

Jacob Rus jacobolus at gmail.com
Tue May 1 15:35:38 UTC 2007


Robin Houston:
> Chuck Esterbrook:
>> TextMate colors the output of a diff (such as "svn di") which is
>> great, but I would like to change the colors. For example, I would
>> prefer that deleted lines are red on white instead of white on red (I
>> find the background color distracting).
> 
> Look at the preference items in the Diff bundle. For example, the item
> "Style: Deleted" contains:
> 
> {    background = '#FF3D3D';
>     foreground = '#FFFFFF';
> }
> 
> You could change it to:
> 
> {    background = '#FFFFFF';
>     foreground = '#FF3D3D';
> }
> 
> to get red on white instead.

You *could*, but you shouldn't.

Just add some rules in your theme (in the main TM preferences) for diff 
scopes.




More information about the textmate mailing list