HippoEDIT forum

General Category => Syntax Files => Topic started by: pokey on March 26, 2009, 05:29:34 PM

Title: TCL syntax file
Post by: pokey on March 26, 2009, 05:29:34 PM
TCL bundle in library (http://www.hippoedit.com/syntax_details.php?syntax=iTCL)

Attached is a first version of a syntax file for the TCL language, with support for the iTcl extension.

It works very well for my purposes, but I will be extending it in the future, as & when I have time.

Please feel free to post comments or questions in this thread.
Title: Re: Syntax File for TCL language
Post by: alex on March 26, 2009, 06:00:05 PM
Thanks a lot for support of HippoEDIT ;)
Title: Re: TCL syntax file
Post by: Darkstar on October 23, 2018, 01:20:06 PM
To support optional parameters you can change
<Label group="Procedure" match="proc\s+(\w+)\s+(\{[^}]*\})\s+\{" name="\1" descr="proc \1 \2" scope="1" image="9"/>
<Label group="Procedure" match="proc\s+(\w*)\s+(\{((?>[^\{\}]|(?-2))*)\})\s*\{" name="\1" descr="proc \1 \2" scope="1" image="9"/>
Title: Re: TCL syntax file
Post by: alex on October 23, 2018, 02:53:20 PM
Hello Darkstar,

Welcome to the forum!

And thanks for the support - updated. The changes are already in the library and can be reloaded with Help->Check for Updates.

BR, Alex.