Exemplo n.º 1
0
static int 
hime_chewing_wrapper_bs (ChewingContext *pCtx)
{
//  If zuin is present, force libchewing handles Backspace for removing last zuin
    int  nZuinLen = 0;
    free(chewing_zuin_String (g_pChewingCtx, &nZuinLen));
    if (nZuinLen)
        return chewing_handle_Backspace (g_pChewingCtx);
    HIME_CHEWING_WRAPPER_FUNC (chewing_handle_Backspace);
}
Exemplo n.º 2
0
static int 
hime_chewing_wrapper_del (ChewingContext *pCtx)
{
    HIME_CHEWING_WRAPPER_FUNC (chewing_handle_Del);
}
Exemplo n.º 3
0
static int hime_chewing_wrapper_pagedown (ChewingContext *pCtx)
{
    HIME_CHEWING_WRAPPER_FUNC (chewing_handle_PageDown);
}
Exemplo n.º 4
0
static int 
hime_chewing_wrapper_right (ChewingContext *pCtx)
{
    HIME_CHEWING_WRAPPER_FUNC (chewing_handle_Right);
}
Exemplo n.º 5
0
static int 
hime_chewing_wrapper_home (ChewingContext *pCtx)
{
    HIME_CHEWING_WRAPPER_FUNC (chewing_handle_Home);
}
Exemplo n.º 6
0
static int 
hime_chewing_wrapper_enter (ChewingContext *pCtx)
{
    HIME_CHEWING_WRAPPER_FUNC (chewing_handle_Enter);
}
Exemplo n.º 7
0
static int 
hime_chewing_wrapper_bs (ChewingContext *pCtx)
{
    HIME_CHEWING_WRAPPER_FUNC (chewing_handle_Backspace);
}