Hi John, Nice work.
> Yes, a limitation in highlighting is that each regular expression is > scoped to one line at once, so there's no possibility of knowing > what's on the next line, or what was on the previous line. This is > done by the TextMate-grammar engine for performance reasons, but it > also makes working with line-based languages like Roff a nightmare. Understood. That's why .ig doesn't cause subsequent lines to be ignored. And why \\fB inside a .de is treated as \fB. Why is .PS orange versus .PE's purple? Cheers, Ralph.