FROM : John Pattenden
DATE : Wed Apr 13 20:36:33 2005
I think I've narrowed down the problem I want to solve after reading
some pretty informative posts on the list.
Here is a piece of a post from Douglas Davidosn
"Now, in most cases the key events will come back to the view either as
insertText: (for ordinary key presses with an ordinary keyboard) or as
doCommandBySelector: (for special keys like delete, return, etc.), as
the NSResponder.h comments mention. However, if a special input method
like Kotoeri is active, then something else will happen. To handle
those cases, NSTextView conforms to the NSTextInput protocol."
So what I'd like to know ahead of time is if a "special input method"
is active.
This is highly specific need related to sending characters to
Carbon/QuickDraw from Cocoa.
I want to let characters pass through if no "special input method" is
active and do something else otherwise..
Command Space toggle between modes and presumably sets some sort of
system global, is that what I need to get at?
John Pattenden
ScreenTime Media
Get Advice - Give Advice
http://forums.screentime.com
DATE : Wed Apr 13 20:36:33 2005
I think I've narrowed down the problem I want to solve after reading
some pretty informative posts on the list.
Here is a piece of a post from Douglas Davidosn
"Now, in most cases the key events will come back to the view either as
insertText: (for ordinary key presses with an ordinary keyboard) or as
doCommandBySelector: (for special keys like delete, return, etc.), as
the NSResponder.h comments mention. However, if a special input method
like Kotoeri is active, then something else will happen. To handle
those cases, NSTextView conforms to the NSTextInput protocol."
So what I'd like to know ahead of time is if a "special input method"
is active.
This is highly specific need related to sending characters to
Carbon/QuickDraw from Cocoa.
I want to let characters pass through if no "special input method" is
active and do something else otherwise..
Command Space toggle between modes and presumably sets some sort of
system global, is that what I need to get at?
John Pattenden
ScreenTime Media
Get Advice - Give Advice
http://forums.screentime.com
| Related mails | Author | Date |
|---|---|---|
| John Pattenden | Apr 13, 20:36 | |
| John Stiles | Apr 13, 21:00 | |
| John Pattenden | Apr 13, 23:28 | |
| John Stiles | Apr 13, 23:39 |






Cocoa mail archive

