#TTX and Brackets
3 messages in this thread
Has anyone written any ARexx code for TurboText to do bracket matching
when typing in source code. I am looking for something that will work in
real time and whenever the cursor is over a bracket or a parenthesis, the
"matching" one will be put into reverse video. I am not even sure if this
is possible think it would be a nice feature.
Barring that has anyone implemented the emacs style system that if you
type in a bracket, the cursor moves for an instant to the matching
bracket.
I need this because I am doing some programming in Lisp and it use
parenthesis for almost everything.
Thanks..
Mike
I have in my ttx_startup.dfn the line for CTRL-[ ExecAStringMacro
rexx:braces.ttx, this matches the bracket you are over. It came with my
Turbotext disk as one of the default .ttx files. Just make sure that it is
in rexx: or use TurboText:rexx/braces.ttx as the path. That should work
for you. I use it all the time and it works just fine.
Greg,
You must have and older version of TTX than me. My version (1.02) has
that feature implemented as a built in command. I found this after my last
message and was able to use it to good effect.
I would still like to have something even better so I may program it
myself.
Mike