Re: NSDeleteCharacter when expected NSBackspaceCharacter
Re: NSDeleteCharacter when expected NSBackspaceCharacter
- Subject: Re: NSDeleteCharacter when expected NSBackspaceCharacter
- From: j o a r <email@hidden>
- Date: Mon, 16 May 2005 22:42:47 +0200
On 16 maj 2005, at 22.37, Douglas Davidson wrote:
NSTextView does provide this, but it isn't magic; it's done by
calling [self interpretKeyEvents:] in keyDown:. That ends up
eventually calling either insertText: or doCommandBySelector:. The
whole apparatus of key handling, including not just key binding but
also input managers, is available to custom classes that wish to
make use of it. It's intended primarily for text editing, of
course, but I don't see offhand why other uses would not be possible.
Thanx a million Douglas! I'll investigate how I can use this for my
purposes!
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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