Re: PSPad: Syntax highlighting for Tcl



Hi Jeff,
I was drawing conclusions too fast. When installing PSPad I noticed
the 'syntax' sub dir, checked for 'tcl', didn't see anything and
thought that Tcl wasn't supported.

>PSPad definitely does support Tcl syntax highlighting - though I've used it
>for so long (several years), I don't remember what (if anything) I had to
>do to set it up. I don't think you need to download a syntax file.
>
>Look at the following:
>
>Settings | Highlighter Settings... |
>
>On the left, make sure Tcl/Tk is checked. Now, select it (on the let) and
>then click the "Specifications" tab on the right. Does the "File Masks"
>pane contain "*.tcl" (and any other file types you want to be recognized as
>Tcl)?
>
>While there, you can also set up "external applications" (I have both tclsh
>and wish defined) so I can run the current file from within the editor.
>
>Also, you can change the highlighter "manually", by using "View | Change
>Syntax..." and then selecting "Tcl/Tk" (though you shouldn't have to do
>this).
>
>Anyway, take a look at the above and report back.
I am back and can report that it works fine :)
Now, time to do some testing to find out if the two of us get along.
Thanks for the prompt reply.
Helmut Giese
.



Relevant Pages

  • Re: C-like structs and scope
    ... > BitMover to add some new syntax to Tcl. ... In OOP systems there is usually no need for struct-alike constructs ... are equally complex to write (I may vote for [$a foo bar] to be honest, ...
    (comp.lang.tcl)
  • Re: proc needs to always calculate the following Saturday but fails Nov - Apr
    ... | I took a wild, wild guess and came up with this: ... No way this will run in *any* TCL interpreter, ... Instead of sourcing the file it will trigger an syntax error. ...
    (comp.lang.tcl)
  • Re: Tcl on slashdot...
    ... "The goal is to inspire kids to learn Python programming and develop ... I would have thought that Tcl was a better choice to "inspire kids to ... I think that Tcl syntax and semantics is far from ... documentation - for language, extensions and libraries. ...
    (comp.lang.tcl)
  • Re: Tcl Switch case
    ... So why not criticize using C's switch as an example to follow in Tcl? ... program failure due to undetected syntax errors. ... the programmer can choose a syntax based upon the expected data. ...
    (comp.lang.tcl)
  • syntax for dict
    ... to continue the Jim project, in the meantime I'm using Tcl for a lot ... and one of the more every-day limitation of Tcl ... is in my experience the lack of syntax for. ... is to take the $anotation as syntax for arrays and add a new one ...
    (comp.lang.tcl)