[TxMt Plugins] sendAction Question

Kirt Fitzpatrick kirt.fitzpatrick at gmail.com
Sat Mar 17 21:52:41 UTC 2007


I am trying to call the moveLeft method on the editor window and I don't
seem to be having any luck.  I am a bit of a n00b to Objective C so I assume
that I must be missing something.  This is what I came up with.  Am I doing
something wrong?

SEL methodSelector = sel_registerName( "moveLeft" );
[[NSApplication sharedApplication] sendAction:methodSelector to:nil
from:self];

kirt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate-plugins/attachments/20070317/e98f22a9/attachment.html>


More information about the textmate-plugins mailing list