Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 an avid Textmate user and for the job I'm working on could really do with highlighting large chunks of code. It's a proper soup at the moment and it would be great if I could highlight a chunk and colour it for reference.

If there's not a way to do it in Textmate does anyone know of a code editor that might do what I'm looking for?

Much appreciated!

share|improve this question
    
Would sound like a useful addition. So far I've seen in emacs you can express regions to be hightlighted by highlight-regexp or using font-lock keywords. Using that one could introduce some keywords to mark regions. But I have problems finding the regexp that will work over multiple lines. – bdecaf Oct 12 '11 at 10:04
    
If bookmarks in TextMate aren't enough, have a look at the bundles -- you could try to edit the bundle you're using for syntax highlighting and language-specific commands to include your custom highlighting. – Daniel Beck Oct 12 '11 at 10:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.