On 2013-09-18 12:21, Allan Odgaard wrote:
It will automatically work, if you assign the scopes to the braces.
Nice.
The snippet is in the Source bundle, to find it, enter {‸} in a C file,
then use Bundles → Select Bundle Item… (⌃⌘T) switch to key equivalent
(⌘4) and press return (↩): this should find the snippet, you can inspect
it by pressing the link arrow or ⌥↩, here you can see that it is scoped to:
source & (
(L:punctuation.section.*.begin & R:punctuation.section.*.end)
| (L:punctuation.definition.*.begin &
R:punctuation.definition.*.end)
) - string
I couldn't find it using Select Bundle Item. I'm guessing that's because
it's not in the Bundle -> Source menu. But I can see it if I go to
Bundles -> Edit Bundles -> Source -> Other Actions.
--
/Jacob Carlborg
_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/listinfo/textmate-dev