[WASTE-list] Text editor stops accepting the accented characters

Marco Piovanelli marco.piovanelli at pobox.com
Tue Apr 25 05:51:02 EDT 2006


On Tue, 25 Apr 2006 14:47:26 +0530,
Vinay Prabhu (vinayprabhu at tataelxsi.co.in) wrote:



>Hi,

>

>Some times the text editor stops accepting the accented characters...


Could you elaborate on this?
What characters are you talking about, exactly? Latin accented
characters like "à" (a grave) or "ü" (u umlaut)?
What keyboard/input method are you using?


>Is there any API's to receive the accented characters event.


Starting with WASTE version 3.0, you should use WESetEventTarget()
to let WASTE install Carbon event handlers for text input on an
event target, like a window or a control. Something like this:

OSStatus MyInstallWASTEHandlersOnWindow(WindowRef inWindow,
WEReference inWE)
{
return WESetEventTarget(GetWindowEventTarget(inWindow),
weTextInputEvents, inWE);
}

This is the only way for WASTE to support all available keyboards
and input methods, including Unicode-only keyboards that were not
available to previous versions of WASTE.


-- marco

--
It's not the data universe only, it's human conversation.
They want to turn it into a one-way flow that they have entirely
monetized. I look at the collective human mind as a kind of
ecosystem. They want to clear cut it. They want to go into the
rainforest of human thought and mow the thing down.



More information about the WASTE-list mailing list