vile
[Top][All Lists]
Advanced

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

Re: [vile] TCL highlighting


From: Thomas Dickey
Subject: Re: [vile] TCL highlighting
Date: Tue, 30 Jul 2013 20:14:11 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

On Tue, Jul 30, 2013 at 05:53:06PM -0400, Wayne Cuddy wrote:
> I may have found a minor bug in the syntax highlighting for TCL. This
> has to do with TCL commands interpolated inside string literals.
> 
> So this works as expected:
> 
> tcl_command "string literal arg"
> 
> This does not:
> 
> tcl_command1 "string literal arg [tcl_command2 "args to cmd2"]"
> 
> The literal highlighting for tcl_command1 stops at the second '"'
> character. I suppose it's subjective as to if it should stop at the
> 4th '"' or the first '['.
> 
> It would be nice if it stopped at the '[', parsed the content between
> the '[' and ']' as a command and continued the string literal after
> the ']' up to the closing '"'.

That's probably doable - hadn't noticed that tcl had that feature, since it's
been a while since I wrote any tcl (I've done this for other filters)

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

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