Re: Return and Enter keys in NSTextView
Re: Return and Enter keys in NSTextView
- Subject: Re: Return and Enter keys in NSTextView
- From: Ondra Cada <email@hidden>
- Date: Thu, 30 Aug 2001 01:19:37 +0200
Richard,
>
>>>>> Richard Schreyer (RS) wrote at Wed, 29 Aug 2001 15:45:59 -0700:
RS> I've overridden keyDown: in NSTextView, and need to find out when the
RS> user has pressed either the Enter or Return keys.
RS>
RS> I've looked through the docs of NSEvent, but I don't see any constants
RS> for these keys like there are for the Modifiers.
Try \n and \r ...
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc