Home
last modified time | relevance | path

Searched refs:preedit_offset (Results 1 – 2 of 2) sorted by relevance

/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/ThirdParty/nimf/modules/engines/nimf-anthy/
H A Dnimf-anthy.c44 gint preedit_offset; /* in bytes */ member
488 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 …]
/dports/chinese/ibus-rime/ibus-rime-1.5.0/
H A Drime_engine.c311 int preedit_offset = 0; in ibus_rime_engine_update() local
335 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()