TC Keywords

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Apr 13, 2010
190
2
57
The Hague
#1
For configuring syntax-coloring in my favorite editor I'm looking for a complete list of commands and functions. Does anyone have such a list readily available?

Thank you,
DJ
 
#2
For either, you can copy and paste from the relevant "by Name" in HELP. The "?" command lists all internal commands, followed by all commands in currently loaded plugins; you can redirect the command. The FUNCTION command will report user-defined functions. Plugin commands and functions can be listed using PLUGIN /C and PLUGIN /F, resp.
--
HTH, Steve
 
Apr 13, 2010
190
2
57
The Hague
#3
Thank you Steve. Yes, your reply does help somewhat because I had forgotten all about the "?" command :)

I realize that my question was too open. Sorry for that.

I am writing a script that produces some XML files to configure my favorite editor. Because TC is continuously evolving I would like to make this a repeatable process. While working on this little project I realized that other users must have had the same idea and need. I would think that JPSoft has such lists available somewhere and - more importantly - that it would be in a form that doesn't need (much) scraping, converting, filtering, stripping and reformatting. (Although I'm looking forward to trying the new command TPIPE for that!).

So, I guess I have two questions for the readers. (1) Is JPSoft willing and able to publish text files with the names of all commands, functions and variables for each version of TakeCommand? (2) Has anyone already written such a script, that filters command(groups), internal functions and variables from the TC documentation?

Such a script should produce discernible groups of keywords with no formatting. I would say flat text in separate files. Meanwhile, focusing on the functions and variables, I am open to (approach/design) suggestions as to how to make this a reliably repeatable process.

Cheers, DJ.
 
Apr 13, 2010
190
2
57
The Hague
#5
Thanks Frank. My editor already has everything it needs for syntax-coloring, folding, etc except of course the specific "reserved words" for our particular language here.

My question is not about editors but about where to get or how to (re)generate compete lists of keywords so that some of us, who are (also) using other editors than TC's IDE, can quickly update their configurations with each new release of TakeCommand.

- DJ
 
#6
sorry, I thought you could perhaps extract some syntax-/keyword-informations,
because rex said
I have now posted the source code for the TCC Scintilla lexer to the Scintilla SourceForge project. It's available for anyone to use (plugins anyone?) in any application that is using Scintilla