diff options
author | Peng Wu <alexepico@gmail.com> | 2015-08-04 11:13:06 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2015-08-04 11:13:06 +0800 |
commit | 12b885acfccf4baf897368abdbf15de42342ef2f (patch) | |
tree | 64cbcfe8d1ef9bc91c4f012f3f8705380e777c4e /src/zhuyin.h | |
parent | 963f73d36934002d5152c6f8e40f0a9d9c1fa80c (diff) | |
download | libzhuyin-12b885acfccf4baf897368abdbf15de42342ef2f.tar.gz libzhuyin-12b885acfccf4baf897368abdbf15de42342ef2f.tar.xz libzhuyin-12b885acfccf4baf897368abdbf15de42342ef2f.zip |
rename zhuyin_guess_candidates to zhuyin_guess_candidates_after_cursor
Diffstat (limited to 'src/zhuyin.h')
-rw-r--r-- | src/zhuyin.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/zhuyin.h b/src/zhuyin.h index 24128eb..44c383a 100644 --- a/src/zhuyin.h +++ b/src/zhuyin.h @@ -41,7 +41,7 @@ typedef struct _import_iterator_t import_iterator_t; typedef enum _lookup_candidate_type_t{ BEST_MATCH_CANDIDATE = 1, - NORMAL_CANDIDATE, + NORMAL_CANDIDATE_AFTER_CURSOR, ZOMBIE_CANDIDATE } lookup_candidate_type_t; @@ -332,7 +332,7 @@ size_t zhuyin_get_parsed_input_length(zhuyin_instance_t * instance); bool zhuyin_in_chewing_keyboard(zhuyin_instance_t * instance, const char key, gchar *** symbols); /** - * zhuyin_guess_candidates: + * zhuyin_guess_candidates_after_cursor: * @instance: the zhuyin instance. * @offset: the offset in the pinyin keys. * @returns: whether a list of tokens are gotten. @@ -340,8 +340,8 @@ bool zhuyin_in_chewing_keyboard(zhuyin_instance_t * instance, * Guess the candidates at the offset. * */ -bool zhuyin_guess_candidates(zhuyin_instance_t * instance, - size_t offset); +bool zhuyin_guess_candidates_after_cursor(zhuyin_instance_t * instance, + size_t offset); /** * zhuyin_choose_candidate: |