Re: PSPad: Syntax highlighting for Tcl



"Helmut Giese" <hgiese@xxxxxxxxxxxxx> wrote in message
news:4314c967.3373751@xxxxxxxxxxxxxxxxxxxxx
> Hello out there,
> trying out PSPad I was somewhat disappointed to see that it does not
> understand Tcl wrt syntax highlighting. Since some proponents of this
> editor seem to regularly visit clt, maybe one of them knows of an URL
> where to obtain a suitable syntax file.
> Thanks and best regards
> Helmut Giese

Hi Helmut,

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.


Jeff


.



Relevant Pages

  • Re: PSPad: Syntax highlighting for Tcl
    ... >> understand Tcl wrt syntax highlighting. ... >> Helmut Giese ... > PSPad definitely does support Tcl syntax highlighting - though I've used ...
    (comp.lang.tcl)
  • Re: Does Anybody Do Any PHP Programming?
    ... I use a programmer's editor called PSPad ... It does syntax highlighting and templates for ...
    (uk.people.silversurfers)
  • OT console based editor that can do php syntax highlighting
    ... when it comes to remote support I struggle reading plain code when the file ... gets over a certain size and find a little syntax highlighting helps a lot. ... time ago but being a novice in these areas I couldn't get the syntax file to ... load and help on the web confusing or indecipherable. ...
    (freebsd-questions)
  • Re: Could I get a emacs configuration for TCL develop environment?
    ... it doesn't show me syntax highlighting when I open a tcl file. ... which version of emacs do you have? ...
    (comp.lang.tcl)
  • Re: syntax highlighting of rc.conf with vim
    ... Everything works fine except the syntax highlighting of rc.conf. ... other .conf files are highlighted es expected. ... So I came to the conclusion that the syntax file for .conf would ... I also tried to use vim 6.x and copy the syntax files from a machine ...
    (freebsd-stable)