Permalink
Browse files

Update scope for wrap/unwrap actions

These are now scoped so they only fire when there is a single continuous selection, as presently, they do not work for discontinuous selections.
  • Loading branch information...
1 parent 15aa096 commit 9a568e782697ed8716263bd9351c0bdd972d4ee1 @sorbits sorbits committed Sep 30, 2012
@@ -28,7 +28,7 @@ end
<key>output</key>
<string>replaceSelectedText</string>
<key>scope</key>
- <string>source &amp; dyn.selection.continuous</string>
+ <string>source &amp; dyn.selection &amp; -dyn.caret.mixed</string>
<key>uuid</key>
<string>DD42B10A-E753-4E08-A998-5C2E7C2D0CC2</string>
</dict>
@@ -41,7 +41,7 @@ end
<key>outputLocation</key>
<string>replaceInput</string>
<key>scope</key>
- <string>source &amp; dyn.selection.continuous</string>
+ <string>source &amp; dyn.selection &amp; -dyn.caret.mixed</string>
<key>uuid</key>
<string>52DA9EF9-6D1A-4E55-BFB9-BCB85C250715</string>
<key>version</key>
@@ -9,7 +9,7 @@
<key>name</key>
<string>Strip Wrap Characters</string>
<key>scope</key>
- <string>dyn.selection.continuous</string>
+ <string>dyn.selection &amp; -dyn.caret.mixed</string>
<key>uuid</key>
<string>879EF993-001F-444A-A803-1225C83B980A</string>
</dict>

0 comments on commit 9a568e7

Please sign in to comment.