Re: Custom key bindings at runtime
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