[TxMt] Snippet scope
Allan Odgaard
allan at macromates.com
Thu Jan 27 12:39:02 UTC 2005
On Jan 27, 2005, at 13:28, Jan-Ole Esleben wrote:
> I'm a bit confused: XML snippets automatically work in my Prolog files
> and vice versa. And I couldn't find any information with regard to the
> "scope" field in the bundle editor (which I guess might be a solution
> to my problem [...]
Sorry about that -- b1 had the 'restrainToMode' to solve the problem,
but this was retired in favor of the more flexible scope system, which
however, is still not complete. So for b3 there is no solution to this
problem, other than go to the bundle editor and choose 'edit
filtering...' where you can un-tick the XML bundle (or you can edit the
snippets, remove them, remove the bundle etc. -- but un-ticking it is
the least destructive :) and actually won't hide the XML syntax (though
this will change, but at the same time the scope will then work)).
More information about the textmate
mailing list