[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] Subtle syntax highlight + cut bug with 2.1.10
From: |
alpha |
Subject: |
Re: [Nano-devel] Subtle syntax highlight + cut bug with 2.1.10 |
Date: |
Tue, 11 Aug 2009 16:49:12 -0600 |
On Tue, 11 Aug 2009 13:13:59 +0200 (CEST)
Adam Wysocki via ArcaBit <address@hidden> wrote:
> Another issue (unrelated) with comments:
>
> "abc/*abc*/abc" "abc//abc"
>
> http://img30.imageshack.us/img30/4734/screenshot2hqe.png
This isn't a bug. The highlight code evaluates all syntax patterns in order and
the only way to fix would be to save the start and end positions for every
syntax match and not colorize matches that fall completely inside another match.
I had this working back in 1.3 but the patch was never released due to a
segfault bug and lack of time to fix it.