Hi, On 5/29/07, Philipp Lohmann <[EMAIL PROTECTED]> wrote:
Etsushi Kato wrote: > I've just implemented the preedit text handling from input methods in > salframe.cxx. > > pl, could you verify it since I'm not sure when to call > SALEVENT_ENDEXTTEXTINPUT?
I can verify, the preedit can enter japanese text now (though kanji conversion did not seem to work yet ?)
Thanks. About kanji conversion, it should work as in attached file (fixed.png) by sparcmoz in issue #77846 if you use Kotoeri Input Method.
You should call SALEVENT_ENDEXTTEXTINPUT when the preedit mode is left, that is either cancelled, or the contents is committed, or there is a partial commit and the preedit mode is entered again immediately. SALEVENT_ENDEXTTEXTINPUT basically says, that the last text sent with SALEVENT_EXTTEXTINPUT is to be inserted in the document, be it empty or filled.
Thanks for the information. So I think my code satisfies this. Cheers, -- Etsushi Kato [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
