Author Topic: TCL syntax file  (Read 3347 times)

pokey

  • Guest
TCL syntax file
« on: March 26, 2009, 05:29:34 PM »
TCL bundle in library

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.
« Last Edit: June 20, 2009, 02:46:33 PM by alex »

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2222
  • Karma: +37/-3
    • HippoEDIT
Re: Syntax File for TCL language
« Reply #1 on: March 26, 2009, 06:00:05 PM »
Thanks a lot for support of HippoEDIT ;)

Offline Darkstar

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: TCL syntax file
« Reply #2 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"/>
to
<Label group="Procedure" match="proc\s+(\w*)\s+(\{((?>[^\{\}]|(?-2))*)\})\s*\{" name="\1" descr="proc \1 \2" scope="1" image="9"/>

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2222
  • Karma: +37/-3
    • HippoEDIT
Re: TCL syntax file
« Reply #3 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.