-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
email@example.com wrote: [snip]...............[snip]
Regarding my previous post, I'd like to mention, that I kind of solved one of my previous problems to escape from a nested snippet, relying solely mostly on snippets and macros, For the purpose of easy post maintenance, and since I'm a complete Idiot when it comes to scripts and UNIX I found a workaround on a bundle, that I called GrammarTech and sort of stepped out as a side project for the TXP Language Grammar.
The only purpose of this bundle is to generate the Grammar within minutes and ease the maintenance of the Language.
To finally return the caret to the \n position of the last variable of the first snippet, I have two macros.
One that swaps the last include reference around(where the previous last include reference is a place-holder item, that never changes it's name),and one that returns the caret to it's initial position. Although it pretty much works the way I wanted, I ran in to a couple of Issues.
To execute the macros that do the 2 previous jobs described above, I initially assigned them the + and - keys of the numeric keypad, while the scope of the Language item, (which is a conventional plist bundle language item by itself) of the Grammar-tech Bundle was set to grammartech.plist.
Changing my mind afterwards and assigning them a scope of source.plit broke the key bindings (Changing them after to something else, also does not trigger the macros anymore). The macros are still working, but trigger only from the gear popup menu on the toolbar.
I also found, that I could only reliably nest the one snippet in the other, when I place the Zero tab variable right after the last variable of the first snippet.
I don't know if this is a bug, but I thought it would be better to mention it here.
Sorry again for this long post, and many thanks in advance,