On Apr 9, 2014, at 6:46 PM, Hans-Jörg Bibiko bibiko@eva.mpg.de wrote:
hmm, or the other way around - it could be the case that TM1's syntax highlighting engine was really line based i.e. each single line was checked against the grammar one after the other uncoupled from the entire doc whereby TM2's engine "is a bit more document based".
The grammars are still totally line-based, the handling of \z is special cased when parsing the grammar to only match on the last line.