Logo Search packages:      
Sourcecode: fcitx-sunpinyin version File versions  Download package

void FcitxWindowHandler::updatePreedit ( const IPreeditString *  ppd ) [virtual]

handler called while preedit updated

Parameters:
ppdpreedit string
Returns:
void

Definition at line 33 of file handler.cpp.

{
    FcitxInstance* instance = owner->owner;
    FcitxInputState* input = &instance->input;
    input->bShowCursor = true;
    candidate_flag = true;

    const wstring& codeinput = this->owner->view->getPySegmentor()->getInputBuffer();
    WCSTOMBS(input->strCodeInput, codeinput.c_str(), MAX_USER_INPUT);
    input->iCodeInputCount = strlen(input->strCodeInput);
}

Generated by  Doxygen 1.6.0   Back to index