TextMate suddenly highlighting all text dark red...?

Posted by AP257 on Stack Overflow See other posts from Stack Overflow or by AP257
Published on 2010-03-27T21:39:48Z Indexed on 2010/03/27 21:43 UTC
Read the original article Hit count: 482

Filed under:

I'm using TextMate on Snow Leopard, don't know much about how it works. After I hit an unknown keyboard shortcut, it suddenly decided to highlight almost all text in my Python files dark red - making all my Python virtually unreadable!

I must have accidentally pressed a shortcut - but I've no idea what I did or how to turn it off, and can't find any relevant help in the manual or form. Even just 'turn off all highlighting' would do.

Anyone know how to turn this highlighting off? Bit desperate!

© Stack Overflow or respective owner

TextMate suddenly highlighting all text dark red...?

Posted by AP257 on Super User See other posts from Super User or by AP257
Published on 2010-03-27T21:39:48Z Indexed on 2010/03/27 22:43 UTC
Read the original article Hit count: 482

Filed under:

I'm using TextMate on Snow Leopard, don't know much about how it works. After I hit an unknown keyboard shortcut, it suddenly decided to highlight almost all text in my Python files dark red - making all my Python virtually unreadable!

I must have accidentally pressed a shortcut - but I've no idea what I did or how to turn it off, and can't find any relevant help in the manual or form. Even just 'turn off all highlighting' would do.

Anyone know how to turn this highlighting off? Bit desperate!

UPDATE: Figured it out. There's a tiny, tiny dropdown list at the very bottom of every TextMate editing window where you can set the language, so TextMate can highlight invalid syntax - I'd accidentally clicked on it and set the language to something other than Python. Will leave the question up though in case others have the same problem.

© Super User or respective owner

Related posts about textmate