@veganstraightedge TextMate was innovative as an editor in its day hecause you could specifically have multiple grammars active in one file.
For instance, you could have a Ruby file with a heredoc string where SQL was used to signify the end of the string and TextMate would syntax highlight that heredoc string as SQL.