[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] the bug where color is not restored for a multiline reg
From: |
Brand Huntsman |
Subject: |
Re: [Nano-devel] the bug where color is not restored for a multiline regex |
Date: |
Sun, 21 Jan 2018 04:14:37 -0700 |
On Thu, 18 Jan 2018 21:35:38 +0100
Benno Schulenberg <address@hidden> wrote:
> Op 18-01-18 om 20:07 schreef Benno Schulenberg:
> > Op 17-12-17 om 12:32 schreef Benno Schulenberg:
> >> (There is an additional problem: if you type a space after
> >> "#warning", the coloring of "blah blah" is dropped. But if you
> >> then remove the space again, "blah blah" is not recolored. Only
> >> when typing ^S or ^L does the color return. So a change in the
> >> multiline regex matching is not always detected. But that is a
> >> different kind of bug.)
> >
> > This bug has been reported as
> > https://savannah.gnu.org/bugs/?52925.
>
> Attached patch should fix the problem.
> Some testing will be appreciated.
The change is exactly how it should work so I don't see how it could break
anything. But I've been using it for a couple days system-wide and haven't had
issues with any multi-line C comments.