[SCIM] Re: [m17n-lib:00085] Re: Re: Proposal: add minput_reset_ic (MinputContext *ic) method.

Kenichi Handa handa at m17n.org
Wed Dec 22 04:39:52 PST 2004


In article <s3tu0qe1qxz.fsf at magellan.suse.de>, Mike FABIAN <mfabian at suse.de> writes:
>>>   M17NInstance::focus_out ()
>>>   {
>>>       SCIM_DEBUG_IMENGINE(2) << "focus_out.\n";
>>>  +    minput_reset_ic(m_ic);
>>>   }
>>   
>>  Are there a code calling minput_lookup () somewhere else?

> Yes, in

>     bool
>     M17NInstance::process_key_event (const KeyEvent& key)
>     {

> there is a call to minput_lookup ().

> Apparently the process_key_event() method is called shortly before the
> focus_out () method.

??? Calling it before minput_reset_ic() doesn't work.

As minput_reset_ic() may produce some text, minput_lookup()
should be called after the call of minput_reset_ic().

---
Ken'ichi HANDA
handa at m17n.org


More information about the scim mailing list