nano-devel
[Top][All Lists]
Advanced

[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: Adam Wysocki via ArcaBit
Subject: Re: [Nano-devel] Subtle syntax highlight + cut bug with 2.1.10
Date: Tue, 18 Aug 2009 18:51:23 +0200 (CEST)
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

pterm, TERM=xterm

In xterm it's the same, comments are still matched in strings (but it must 
be pasted into buffer opened with .c extension).

On Mon, 17 Aug 2009, Chris Allegretta wrote:

> Hmm, still not seeing it, at least not when pasting that txt into a
> blank buffer and then trying to cut the beginning comment, I knew I
> wasn't toally crazy, just mostly.  Can you tell me what terminal
> program and $TERM you're using?
> 
> On Tue, Aug 11, 2009 at 6:49 PM, <address@hidden> wrote:
> > 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.
> >
> >
> > _______________________________________________
> > Nano-devel mailing list
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/nano-devel
> >
> 
> 
> _______________________________________________
> Nano-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/nano-devel
> 

-- 
Software Research and Development Department, ArcaBit sp. z o.o.
Ul. Fortuny 9, 01-339 Warszawa, POLAND




reply via email to

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