Permalink
Browse files

Inserting matching brace disabled for multiple carets

TextMate r9319 no longer sets dyn.selection for multiple carets (when there is no selection) so we need to also avoid dyn.caret.mixed.
  • Loading branch information...
1 parent 831a333 commit b0826e645a3d8ca37dd625a56935d49cc8eeb9fc @sorbits sorbits committed Sep 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Commands/Insert Matching Start Bracket.tmCommand
@@ -313,7 +313,7 @@ end
<key>output</key>
<string>insertAsSnippet</string>
<key>scope</key>
- <string>source.objc - string - comment - dyn.selection, source.objc++ - string - comment - dyn.selection</string>
+ <string>(source.objc | source.objc++) - (string | comment | dyn.selection | dyn.caret.mixed)</string>
<key>uuid</key>
<string>DB16585F-4D78-412B-B468-38AD54C254B5</string>
</dict>

0 comments on commit b0826e6

Please sign in to comment.