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
<br><br>Preferred:&nbsp; Figure out where those methods are implemented.&nbsp; Since somehow when you press command - delete, it deletes to the end of the line.&nbsp; Yet grepping for this method doesn&#39;t find it.<br><br>Trying to avoid:&nbsp; Implement all of them myself.&nbsp; And I have no idea how to implement them myself...yet.
<br><br>pointing me in the right direction on either one would be great.<br><br>kirt<br><br>P.S. I tried sendign the message to the first responder but that did not work either.<br><br><div><span class="gmail_quote">On 1/7/07, 
<b class="gmail_sendername">Rob Rix</b> &lt;<a href="mailto:rix.rob@gmail.com">rix.rob@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&quot;nil&quot; as the sender should work; it&#39;s _generally_ optional, being<br>used mainly for connecting user interface elements together that<br>might conceivably need to take some hints from the invoking element.<br>
If nil won&#39;t do it, self ought to.<br><br>Also, when you see things like below, with selectors not being<br>recognized, it is possible that Allan hasn&#39;t overridden NSResponder&#39;s<br>default implementation, which simply raises a &quot;selector not
<br>recognized&quot; exception. The other thing to note is that you&#39;re sending<br>to OakWindow here; I&#39;m not clear enough on the operation of the<br>responder chain to say for sure, but you might want to send these
<br>messages not to the window instance but to the window&#39;s first responder:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[window firstResponder] moveDown: nil]; // or, as noted, &quot;self&quot; if<br>nil doesn&#39;t work. But it ought to.<br><br>
Rob Rix<br><br>On 7-Jan-07, at 2:30 PM, Kirt Fitzpatrick wrote:<br><br>&gt; I should prefix this by mentioning that this is my first foray into<br>&gt; Objective-C.&nbsp;&nbsp;Rob Rix got me started by pointing me to the<br>&gt; NSResponder class and telling me about the class-dump script.&nbsp;&nbsp;But
<br>&gt; now that I am trying to call the window methods directly I do not<br>&gt; know what to pass it as the sender argument.<br>&gt;<br>&gt; NSResponder<br>&gt; - (void)moveDown:(id)sender<br>&gt;<br>&gt; I am getting this in the error log.
<br>&gt;<br>&gt;<br>&gt; 2007-01-07 11:24:12.133 TextMate[2053] *** -[OakWindow moveDown:]:<br>&gt; selector not recognized [self = 0x1645140]<br>&gt; 2007-01-07 11:24: 12.134 TextMate[2053] sendEvent: Caught<br>&gt; NSInvalidArgumentException: *** -[OakWindow moveDown:]: selector
<br>&gt; not recognized [self = 0x1645140]<br>&gt;<br>&gt;<br>&gt;<br>&gt; kirt<br>&gt; _______________________________________________<br>&gt; textmate-plugins mailing list<br>&gt; <a href="mailto:textmate-plugins@lists.macromates.com">
textmate-plugins@lists.macromates.com</a><br>&gt; <a href="http://lists.macromates.com/mailman/listinfo/textmate-plugins">http://lists.macromates.com/mailman/listinfo/textmate-plugins</a><br><br>_______________________________________________
<br>textmate-plugins mailing list<br><a href="mailto:textmate-plugins@lists.macromates.com">textmate-plugins@lists.macromates.com</a><br><a href="http://lists.macromates.com/mailman/listinfo/textmate-plugins">http://lists.macromates.com/mailman/listinfo/textmate-plugins
</a><br></blockquote></div><br>