libchewing icon indicating copy to clipboard operation
libchewing copied to clipboard

簡單注音模式

Open kidwm opened this issue 13 years ago • 1 comments

請參考:

https://groups.google.com/forum/?fromgroups#!topic/chewing-devel/TLn_31OFTrU

kidwm avatar Jul 05 '12 12:07 kidwm

This can be implemented by modify CountReleaseNum like this. After applying this patch, set maxChiSymbolLen to and you will only have one word in preedit buffer.

However, I cannot find the purpose of the following code in CountReleaseNum, especially ZUIN_SIZE part. Modify it might cause undesirable side effect.

    /* reserve ZUIN_SIZE positions for Zuin */
    remain = pgdata->config.maxChiSymbolLen - (pgdata->chiSymbolBufLen + ZUIN_SIZE);
    if ( remain > 0 )
        return 0;

czchen avatar Dec 07 '12 18:12 czchen