[TxMt Plugins] ViPlugin - what is the sender for NSResponder::moveDown

Chris Thomas chris at cjack.com
Mon Jan 8 01:15:00 UTC 2007

On Jan 7, 2007, at 5:36 PM, Kirt Fitzpatrick wrote:

> thanks, I'm making a little headway figuring this out.  I think  
> you're right that Allan has not implemented all of the NSResponder's  
> methods.  And I'm really in a bind with this because it appears that  
> passing events will not work in all cases (not to mention that it's  
> kinda hacky).  I can solve this problem in one of two ways
> Preferred:  Figure out where those methods are implemented.  Since  
> somehow when you press command - delete, it deletes to the end of  
> the line.  Yet grepping for this method doesn't find it.

You could try invoking tryToPerform:with: or doCommandBySelector:  
instead. I don't know what the OakTextView implementation looks like,  
but it's possible that some selectors might not be visible as methods.


More information about the textmate-plugins mailing list