[Uim] Determine the semantic of reset

TOKUNAGA Hiroyuki tkng at xem.jp
Sun Jun 5 21:28:13 EEST 2005


On Thu, 02 Jun 2005 20:52:02 +0900
Kenichi Handa <handa at m17n.org> wrote:

> > To allow such behavior, I couldn't think of any idea except adding
> > new 'committable-when-focus-move-only' property.
> 
> The committable property is a piece of reasonable
> information an im-module can determine and attach, but
> 'committable-when-focus-move-only' is not.
> 
> If we really need different behaviour on focus-move and
> focus-out, different APIs are necessary for an im-engine as
> you wrote, and a user should be able to customize each
> behaviour as below:
> 
>   o commit only the committable text (default)
>   o commit nothing
>   o commit all of the predit text
> 
> So, still an im-module must give the committable property
> (or the equivalent information) to an im-engine because such
> information can't be decided by an im-engine.

I have another question now. If I remembered correctly (Sorry, I don't
investigate APIs), we can't edit preedit strings from application side
in m17n-lib. So must we add a new API for teaching 'comittable text was
comitted' to im-module?

Anyway, in the case of uim, commitable property is difficult to adopt,
I think. But if m17n-lib adopt commitable property, I approve.
Because corresponding such property would not be so difficult for
uim-m17nlib.


Regards,

-- 
TOKUNAGA Hiroyuki
tkng at xem.jp



More information about the uim mailing list