-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 5/6/2006, at 12:05, marios wrote:
[...] 1)How do I insert a snippet inside a snippet ?
Embedded snippets are presently not supported. They can be inserted using key equivalents or the ?Select Bundle Item?? functionality of latest cutting edge builds, but the tab triggers will not work inside a snippet, nor will an inserted snippet, inside a snippet context, merge the two ?tab chains.?
I finally managed to find a workaround,I understood about the key equivalents.Currently I have an extra bundle , that consists of a couple of macros and nested macros and a couple of snippets. It only works, when I place the zero variable right after the last variable(which in this case is also the first one) of the the root snippet. Currently in the final Grammartech Bundle, I can generate the code (thousands of lines) for The Texpattern Language Grammar just with three different scoped key bindings,(Shift tab, tab, and shift enter)that represent the tab stops to insert the values for the tags, and it will loop back to the beginning of the routine for each tag. (fantastic). And all that in only half an hour.(With either the txp wiki page or the tag manual print next to me to insert the names , values and attribute names at the appropriate placeholder tab stops. Actually it took me more time, to figure that one out, than the Grammar itself. (I'll post it here, so you can take a look at it if you like)
I'm aware, that there a much better ways to do this, like a command that uses a perl script for example, but I'm an absolute novice, when it comes to that.
2)Key bindings
After realizing that certain key bindings are lost after the previous update, I am not able to use certain custom key bindings, I'm not able to recall right now, which ones they are.
How can I reset the key bindings for TM system wide ?
[snip]...............[snip]
My apologies, it was actually a typo in the scope name of the Language item.
As for resetting them, this depends on which key bindings you have set, there are basically 3 types [1]
3)FoldingStopmarkers and FoldingStartmarkers not working. [...]
For help with this, please:
- drag the language grammar from the bundle editor to Finder, then
to Mail (should produce a tmLanguage file)
- send a snippet of code which is ?not working?
4)Bookmarks: How can I make them consistent after closing and reopening a file?(on my Install id didn't work)
This only works on Tiger (and is default) -- are you using Tiger?
I am using Tiger, 10.4.6
[1] http://macromates.com/textmate/manual/key_bindings#key_bindings
Best regards, marios
On 7/6/2006, at 23:28, marios wrote:
Marios: Please make an effort to trim unnecessary stuff in your replies, provide them with a proper subject, etc.
This only works on Tiger (and is default) -- are you using Tiger?
I am using Tiger, 10.4.6
So you open a file, set a bookmark, close it. Re-opening it, and the bookmark is gone?
Did you disable meta data [1]? Does it remember the position of the insertion point after re-opening the file?
[1] http://macromates.com/textmate/manual/ saving_files#extended_attributes_metadata