• 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: Keyboard short-cuts edit field
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keyboard short-cuts edit field


  • Subject: Re: Keyboard short-cuts edit field
  • From: Ondra Cada <email@hidden>
  • Date: Wed, 3 May 2006 19:53:42 +0200

Eric,

On 3.5.2006, at 19:37, Stephane Sudre wrote:

A couple of days ago I posted a question that didn't receive any responses.

For one, I (think :) I) did understand for the first time too, but I just don't know how to do this. I could solve it of course if I put some non-trivial time to it, but dunno the answer offhand. I guess it would be similar case with others.


That's not of course why I write, the reason is:

Just a blind guess: maybe you can just have a subclass of NSTextField that overrides the keyDown: method (maybe the moveRight: and all that stuff too) and find the modifiers using the NSEvent modifier attribute.

subclassing and overriding this or that beware that NSTextField never does actual editing. An NSTextView does -- see "field editor".
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc



_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Keyboard short-cuts edit field
      • From: Eric Long <email@hidden>
References: 
 >Keyboard short-cuts edit field (From: Eric Long <email@hidden>)
 >Re: Keyboard short-cuts edit field (From: Stephane Sudre <email@hidden>)

  • Prev by Date: Re: Drag & Drop Question
  • Next by Date: Re: Confused with modal sessions
  • Previous by thread: Re: Keyboard short-cuts edit field
  • Next by thread: Re: Keyboard short-cuts edit field
  • Index(es):
    • Date
    • Thread