[TxMt] Changing background colour based on file name

Baldwin, Dave dave.baldwin at intel.com
Fri Nov 14 17:30:58 UTC 2014


I have the situation where I have files with the same name (and similar content) in different sub folders and it is very easy to edit the incorrect file as the two tabs look the same.

 A few ways to make this more obvious would be to change the background colour (of the edit window) or the colour of the tab (or text in the tab)  based on something in the file path.  Is there anyway of achieving such a thing?

I recall you can do something with the window title so this may be one way to help, but using colour would make it easier to see rather than having to read the full path name.

Dave.

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.



More information about the textmate mailing list