vile
[Top][All Lists]
Advanced

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

Re: [vile] tcl syntax filter


From: Wayne Cuddy
Subject: Re: [vile] tcl syntax filter
Date: Mon, 9 Jul 2012 19:46:32 -0400
User-agent: Mutt/1.4.2.3i

Ok, looks like I need to do some more testing... the continuation
definitely works for comments.

On Mon, Jul 09, 2012 at 02:03:18PM -0400, Wayne Cuddy wrote:
> I should add that line continuation can operate on a number of different
> TCL constructs, not just string literals. So it should hold true for a
> proc call, proc definition, brace literals... essentially carry over the
> state from the current line.
> 
> On Mon, Jul 09, 2012 at 01:57:43PM -0400, Wayne Cuddy wrote:
> > Not sure if this is an easy fix or not as I've not looked at the code
> > but the TCL syntax highlighter does not seem to recognize the line
> > continuation character (\) while processing string literals, it
> > terminates at the end of the line.
> > 
> > The following works:
> > 
> > set mystring "this is my string"
> > 
> > However in the next fragment '"this is line1\' is highlighted correctly
> > but 'this is line2' is not, and '" ;# comment' is highlighted
> > as a string literal.
> > 
> > set mystring "this is line1\
> >     this is line2" ;# my comment
> > 
> > Wayne
> > 
> > _______________________________________________
> > vile mailing list
> > address@hidden
> > https://lists.nongnu.org/mailman/listinfo/vile
> 
> _______________________________________________
> vile mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/vile



reply via email to

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