• 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 13:37:16 -0800

Unfortunately, no. Applications that are providing such capabilities are overriding a private class.

Aki

Aki,

Isn't there at least a way to load a keybinding file specific to my application?

Pierre


On Mar 16, 2006, at 8:14 PM, Aki Inoue wrote:

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

  • Prev by Date: Re: Anyone want to write an SVG drawing app?
  • Next by Date: Re: saving jpegs
  • Previous by thread: Re: Custom key bindings at runtime
  • Next by thread: Question on thread safety of objects
  • Index(es):
    • Date
    • Thread