• 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: Custom key bindings at runtime
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom key bindings at runtime


  • Subject: Re: Custom key bindings at runtime
  • From: Aki Inoue <email@hidden>
  • Date: Thu, 16 Mar 2006 11:14:34 -0800

Pierre,

There is no public API to customize the key binding dict on the fly right now.
I'm aware of needs and have a plan to provide the capability in a future release.


I'd like to post a comment concerning a section of Jacob's article.

The bundle-based input server described in his "Input Managers" section is never a supported configuration. The ADC documentation is intentionally avoiding to touch the topic. Also, the purpose of the implementation has never been for extending the text system. Implementing an NSInputServer in the bundle is already an abusive use.

So, please do not assume the bundle loading capability will stay intact in future Mac OS X releases.

Aki

Hi!

I have been reading this highly interesting article on the Cocoa Text System by Jacob Rus (http://hcs.harvard.edu/~jrus/Site/Cocoa Text System.html ).

Now I am wondering how I would go about to set key bindings in code rather than by editing one of the DefaultKeyBinding.dict files ?

How can I load a file of my own - much like xCode loads ~/Library/ KeyBindings/PBKeyBinding.dict ?

Pierre
_______________________________________________
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

_______________________________________________ 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: Custom key bindings at runtime
      • From: Pierre Bernard <email@hidden>
References: 
 >Custom key bindings at runtime (From: Pierre Bernard <email@hidden>)

  • Prev by Date: Cocoa equivelent of Choose Volume dialog provided by Carbon Navigation Services?
  • Next by Date: Re: NSTextView question
  • Previous by thread: Custom key bindings at runtime
  • Next by thread: Re: Custom key bindings at runtime
  • Index(es):
    • Date
    • Thread