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).
I didn't see an entry in the TextMate Preferences for these. Am I just missing it? Or can I change these via the defaults database or a plist?
Thanks, -Chuck
On 1 May 2007, at 15:23, Chuck Esterbrook wrote:
I didn't see an entry in the TextMate Preferences for these. Am I just missing it? Or can I change these via the defaults database or a plist?
Those are in the Diff bundle. Open the bundle editor and expand the Diff bundle and you'll see some Style: preferences you can edit
On 5/1/07, Chuck Esterbrook chuck.esterbrook@gmail.com wrote:
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.
Robin
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.