Code specific to using TEDIT
Nifty function key routines or brief command sequences
can be pasted directly to this page here:
This is a handy way to see all occurances of a string in your file and jump to a specific one.
UNMARK *
SEARCH "<pattern to search for>",F/L,1:239,IE,"MARK *+1;FINDNEXT"
GOTO
More extensive code
should probably have a page of it's own and links to such pages can appear here:
I wrote a huge collection TACL macros and routines that allow me to write new TEDIT commands in TACL.
Basically, any command you try to execute within TEDIT that isn't a TEDIT builtin command is sent to your TACL process along with context information about the text you are editing. TACL can then send any number of commands back to TEDIT, which it then executes as if you issued them yourself. Those commands can include commands that TEDIT doesn't recognize. When that happens TEDIT can/will send them back to TACL with the context that's current when they execute.
Since the interaction between TEDIT and TACL can thus be fairly complex, you have the ability to create new commands that do moderately complex things.
At the moment I'm not sure how to organize this code in the wiki.
There are 2 main groups of code.
1) The code that actually implements the interface.
2) New TEDIT commands I've implemented. These might be useful by themselves or can be examples for your own development
Since some of the commands interact and have dependencies to other commands I'll need to give some thought to how it can be reasonably organized.
It's also possible that the code should be linked to pages that concern TACL programming and/or TACL utilities.
Meanwhile, if you have any interest in this code just write me and I can e-mail appropriate files. The history of this page should show my name. My address can then be built as first.last at tchek which is a dot com of course.
I'd also welcome suggestions for organization of this information.
Comments (0)
You don't have permission to comment on this page.