View plain text files with different background colors in Mac OSX, for different programming languag

Posted by Werner on Stack Overflow See other posts from Stack Overflow or by Werner
Published on 2010-03-13T11:08:16Z Indexed on 2010/03/13 11:15 UTC
Read the original article Hit count: 259

Filed under:
|

Hi,

I work with Mac OS X Leopard. I usually have 5 or 10 text files opened at the same time with different programming languages; one for a bash script, another for a python one, etc. When I use exposé all of them look the same, so it is difficult to select them.

I wonder how could I work with just plain text files in OSX, so when they are opened in an editor the background color changes or some other thign, so when using exposé it is clear to me which window belongs to what language.

I thought about inserting some kind of info to the last line of each document, and then creat some applescript that converts it to RTF or someother text document which includes color in bacjground, so then it is opened with textmate or someother app.

Do you know a better approach for this?

Thanks

© Stack Overflow or respective owner

Related posts about macosx

Related posts about applescript