On 25/3/2006, at 14:08, Daniel Käsmayr wrote:
Is there a way to parse an external file, say within my project, and possibly defined by a project environment variable - to add certain terms to my Language Grammar?
No.
[...] Better would be a macro/script/whatever that would just scan the preamble.tex or so for all my \newcommands and add them to the recognized scopes...
Not directly to support this, but in the future I would like bundles to automatically be reloaded when changed on disk -- this will allow scripts/commands to change and add stuff at run-time. For example a script could update a language grammar, and TM would know.
[...] What exactly IS the most useful way and best way in regards to updating "official" bundles via svn to make customized bundles?
Create an entirely new language grammar and have that one include the default one. Then set your files to use the custom grammar instead of the official.