Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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!

share|improve this question

migrated from Mar 27 '10 at 22:36

This question came from our site for professional and enthusiast programmers.

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.

share|improve this answer

You must log in to answer this question.