CompuServe Thread

#TTX and Brackets

3 messages in this thread
#39400From: Michael SheaFeb 8, 1994 5:24 PM
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
#39494From: Greg GivlerFeb 12, 1994 10:07 PM
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.
#39537From: Michael SheaFeb 16, 1994 2:13 AM
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