groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] GroffHub


From: Ralph Corderoy
Subject: Re: [Groff] GroffHub
Date: Fri, 22 Jul 2016 13:55:27 +0100

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]