Hi.
i'm implementing a custom NSView where i handle keyboard entry via keyDown and processing NSEvents manually. This is for a text editor, and i have my reaosns for not descerifning from any existing NSTextField or the like.
Everything is working fine in general, but there is one thing i cannot figure out, and cannot find any documentation for, no matter how deep i dig (the Key Events docs topic just ignores the matter completely): How to handle multi-keystroke Option key combos (e.g. typing Option-U, A to get an umlaut "Ä"). i of course receive key evebts for both Option-U and A, the first one with an empty "charcaters" string. But i cannot find where to ask the text system how to combine these two (aside from doing it manually by hardcoding each combo i know about, explicitly). Surely this logic must be exposed somewhere in a resuable way, wher ek coiuld ask Cocoa, e.g. "does this even start a multi-key entry" and "whats ther result for these two, combined", and it should not be necessary for me to hardcode/re-implememt the rules for this, myself — right?
Any ideas, suggestions, pointers?
thanx,
marc