Searched refs:preedit_offset (Results 1 – 2 of 2) sorted by relevance
44 gint preedit_offset; /* in bytes */ member488 anthy->preedit_offset = 0; in nimf_anthy_emit_commit()578 anthy->preedit_offset = anthy->preedit->len; in nimf_anthy_convert_preedit_text()804 anthy->preedit_offset += strlen (str); in nimf_anthy_filter_event_romaji()821 anthy->preedit_offset += strlen ("っ") - 1; in nimf_anthy_filter_event_romaji()828 anthy->preedit_offset += strlen ("ん") - 1; in nimf_anthy_filter_event_romaji()851 anthy->preedit_offset += strlen (val); in nimf_anthy_preedit_insert()1092 anthy->preedit_offset = anthy->preedit->len; in nimf_anthy_convert_to()1357 else if (anthy->preedit_offset > 0) in nimf_anthy_filter_event()1399 anthy->preedit_offset += anthy->preedit_dx - 1; in nimf_anthy_filter_event()[all …]
311 int preedit_offset = 0; in ibus_rime_engine_update() local335 preedit_offset = context.composition.sel_start; in ibus_rime_engine_update()351 preedit_offset = context.composition.length; in ibus_rime_engine_update()384 preedit_offset = context.composition.length; in ibus_rime_engine_update()388 if (preedit_offset < context.composition.length) { in ibus_rime_engine_update()389 const char* preedit = context.composition.preedit + preedit_offset; in ibus_rime_engine_update()397 preedit, context.composition.sel_start - preedit_offset); in ibus_rime_engine_update()399 preedit, context.composition.sel_end - preedit_offset); in ibus_rime_engine_update()