Re: Custom NSTextView used as field editor doesn't support spoken keystrokes by VoiceOver
Re: Custom NSTextView used as field editor doesn't support spoken keystrokes by VoiceOver
- Subject: Re: Custom NSTextView used as field editor doesn't support spoken keystrokes by VoiceOver
- From: James Dempsey <email@hidden>
- Date: Fri, 9 Nov 2007 08:59:51 -0800
On Nov 9, 2007, at 6:09 AM, Daniel Schwill wrote: Hello James,
I'll try to use the default field editor for my text fields and add the custom behavior in a subclass of NSTextField instead.
I think it doesn't work when I tried this before, but maybe it works when I try it again using the information for text editing.
Regards,
Daniel
Daniel - you will need to add and implement the appropriate NSTextView delegate methods to your NSTextField subclass, as opposed to overriding NSTextField's methods.
The two delegate methods that will probably be most useful to you are:
textView:shouldChangeTextInRange:replacementString: textView:doCommandBySelector:
-James
-------------------------------------------------- James Dempsey AppKit Engineering Apple
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden