[TxMt Plugins] sendAction Question
Kirt Fitzpatrick
kirt.fitzpatrick at gmail.com
Sun Mar 18 00:31:08 UTC 2007
> OakTextView does implement the majority of NSResponder mehtods.
> However, they are virtual in the sense that you need to use
> performSelector:withObject: or something like NSApplication's
> sendAction:to:from:.
If this is true than how come Todd and Rob's suggestions for sendAction do
not work?
[[NSApplication sharedApplication] sendAction: @selector(moveLeft:) to: nil
from: self];
-- or --
[[[NSApplication sharedApplication] mainWindow] moveLeft:self]
thanks,
kirt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate-plugins/attachments/20070317/95374947/attachment.html>
More information about the textmate-plugins
mailing list