Crate chewing_sys

Crate chewing_sys 

Source

Structs§

ChewingContext
IntervalType

Constants§

CHEWING_LOG_DEBUG
CHEWING_LOG_ERROR
CHEWING_LOG_INFO
CHEWING_LOG_VERBOSE
CHEWING_LOG_WARN
CHINESE_MODE
FULLSHAPE_MODE
HALFSHAPE_MODE
HSU_SELKEY_TYPE1
HSU_SELKEY_TYPE2
KEYSTROKE_ABSORB
KEYSTROKE_BELL
KEYSTROKE_COMMIT
KEYSTROKE_IGNORE
MAX_SELKEY
MIN_SELKEY
SYMBOL_MODE

Functions§

chewing_Reset
@brief Reset all settings
chewing_aux_Check
chewing_aux_Length
chewing_aux_String
chewing_aux_String_static
chewing_bopomofo_Check
chewing_bopomofo_String_static
chewing_buffer_Check
chewing_buffer_Len
chewing_buffer_String
chewing_buffer_String_static
chewing_cand_CheckDone
chewing_cand_ChoicePerPage
chewing_cand_CurrentPage
chewing_cand_Enumerate
chewing_cand_String
chewing_cand_String_static
chewing_cand_TotalChoice
chewing_cand_TotalPage
chewing_cand_choose_by_index
chewing_cand_close
chewing_cand_hasNext
chewing_cand_list_first
chewing_cand_list_has_next
chewing_cand_list_has_prev
chewing_cand_list_last
chewing_cand_list_next
chewing_cand_list_prev
chewing_cand_open
chewing_cand_string_by_index
chewing_cand_string_by_index_static
chewing_clean_bopomofo_buf
chewing_clean_preedit_buf
chewing_commit_Check
@brief Chewing the state for input context during commit process @param ctx handle to Chewing IM context @retval TRUE if its currnet input state is at the “end-of-a-char”
chewing_commit_String
@brief Get current commit string regardless of current input state @param ctx handle to Chewing IM context
chewing_commit_String_static
chewing_commit_preedit_buf
chewing_cursor_Current
chewing_delete
@brief Release the handle and internal memory by given Chewing instance @see chewing_new()
chewing_free
@brief Release memory allocated used by given pointer used in APIs
chewing_get_ChiEngMode
@brief Get current operating language mode: English / Chinese
chewing_get_KBType
@brief Get keyboard mapping type
chewing_get_ShapeMode
@brief Get current shape mode of output symbols
chewing_get_addPhraseDirection
@brief Get the direction of adding new user-defined phrases
chewing_get_autoShiftCur
@brief Get the behavior of automatically shifting cursor after selection
chewing_get_candPerPage
@brief Get the number of selection candidate per page
chewing_get_easySymbolInput
@brief Get the operating mode during easy symbol input
chewing_get_escCleanAllBuf
@brief Get the behavior whether if Escape key should clean all buffer
chewing_get_maxChiSymbolLen
@brief Get the maximum length of Chinese symbols
chewing_get_phoneSeq
@brief Get phonetic sequence in Chewing internal state machine
chewing_get_phoneSeqLen
@brief Get the length of phonetic sequence in Chewing internal state machine
chewing_get_phraseChoiceRearward
@brief Get the behavior for phrase choice to be rearward or not
chewing_get_selKey
@brief Get the key sequence for selecting phrases
chewing_get_spaceAsSelection
@brief Get the behavior if space key is regarded as selection key or not
chewing_handle_Backspace
@brief Handle the input key stroke: Backspace @param ctx Chewing IM context
chewing_handle_Capslock
@brief Handle the input key stroke: Capslock @param ctx Chewing IM context
chewing_handle_CtrlNum
@brief Handle the input key stroke: Ctrl + Number-key @param ctx Chewing IM context @param key scan code of number key
chewing_handle_DblTab
@brief Handle the input key stroke: double Tab @param ctx Chewing IM context
chewing_handle_Default
@brief Handle the input key stroke: casual key @param ctx Chewing IM context @param key scan code of key stroke
chewing_handle_Del
@brief Handle the input key stroke: Delete @param ctx Chewing IM context
chewing_handle_Down
@brief Handle the input key stroke: Down @param ctx Chewing IM context
chewing_handle_End
@brief Handle the input key stroke: End @param ctx Chewing IM context
chewing_handle_Enter
@brief Handle the input key stroke: Enter/Return @param ctx Chewing IM context
chewing_handle_Esc
@brief Handle the input key stroke: Escape @param ctx Chewing IM context
chewing_handle_Home
@brief Handle the input key stroke: Home @param ctx Chewing IM context
chewing_handle_Left
@brief Handle the input key stroke: Left @param ctx Chewing IM context
chewing_handle_Numlock
@brief Handle the input key stroke: Numlock (keypad) @param ctx Chewing IM context @param key scan code of number key
chewing_handle_PageDown
@brief Handle the input key stroke: PageDown @param ctx Chewing IM context
chewing_handle_PageUp
@brief Handle the input key stroke: PageUp @param ctx Chewing IM context
chewing_handle_Right
@brief Handle the input key stroke: Right @param ctx Chewing IM context
chewing_handle_ShiftLeft
@brief Handle the input key stroke: Shift + Left @param ctx Chewing IM context
chewing_handle_ShiftRight
@brief Handle the input key stroke: Shift + Right @param ctx Chewing IM context
chewing_handle_ShiftSpace
@brief Handle the input key stroke: Shift + Space @param ctx Chewing IM context
chewing_handle_Space
@brief Handle the input key stroke: Space @param ctx Chewing IM context
chewing_handle_Tab
@brief Handle the input key stroke: Tab @param ctx Chewing IM context
chewing_handle_Up
@brief Handle the input key stroke: Up @param ctx Chewing IM context
chewing_interval_Enumerate
chewing_interval_Get
chewing_interval_hasNext
chewing_kbtype_Enumerate
chewing_kbtype_String
chewing_kbtype_String_static
chewing_kbtype_Total
chewing_kbtype_hasNext
chewing_keystroke_CheckAbsorb
chewing_keystroke_CheckIgnore
chewing_new
@brief Create new handle of the instance for Chewing IM @see chewing_delete()
chewing_set_ChiEngMode
@brief Set the operating language mode of Chewing IM.
chewing_set_KBType
@brief Set keyboard mapping type
chewing_set_ShapeMode
@brief Set the shape mode of output symbols: full-shape / half-shape
chewing_set_addPhraseDirection
@brief Set the direction of adding new user-defined phrases
chewing_set_autoShiftCur
@brief Set the behavior of automatically shifting cursor after selection
chewing_set_candPerPage
@brief Set the number of selection candidate per page
chewing_set_easySymbolInput
@brief Set the operating mode during easy symbol input
chewing_set_escCleanAllBuf
@brief Set the behavior whether if Escape key should clean all buffer
chewing_set_logger
chewing_set_maxChiSymbolLen
@brief Set the maximum length of Chinese symbols
chewing_set_phraseChoiceRearward
@brief Set the behavior for phrase choice to be rearward or not
chewing_set_selKey
@brief Set the key sequence for selecting phrases
chewing_set_spaceAsSelection
@brief Set the behavior whether if space key is regarded as selection key
chewing_userphrase_add
chewing_userphrase_enumerate
chewing_userphrase_get
chewing_userphrase_has_next
chewing_userphrase_lookup
chewing_userphrase_remove