• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Return and Enter keys in NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Return and Enter keys in NSTextView (From: Richard Schreyer <email@hidden>)

  • Prev by Date: how to summarize using FBC
  • Next by Date: Re: Return and Enter keys in NSTextView
  • Previous by thread: Return and Enter keys in NSTextView
  • Next by thread: Re: Return and Enter keys in NSTextView
  • Index(es):
    • Date
    • Thread