Permalink
Browse files

Den’t let ⌃H do ‘selector lookup’ when text is selected

This makes it possible to instead lookup a constant, class name, or similar, despite being inside a method call declaration. Also, the selector lookup code doesn’t really work with a selection as it expects to get the full call on stdin.
  • Loading branch information...
sorbits committed Jan 14, 2013
1 parent ebbd8d8 commit d09aaaf5fd6fdce3a139de4009f370a0b93e80dd
Showing with 1 addition and 1 deletion.
  1. +1 −1 Commands/Documentation for Selector.tmCommand
@@ -23,7 +23,7 @@ documentation_for_selector
<key>output</key>
<string>showAsTooltip</string>
<key>scope</key>
- <string>meta.bracketed.objc | meta.function.objc</string>
+ <string>(meta.bracketed.objc | meta.function.objc) - dyn.selection</string>
<key>uuid</key>
<string>8AF46225-833C-473E-8EEC-F21C581636F6</string>
</dict>

0 comments on commit d09aaaf

Please sign in to comment.