Results 99 issues of Shewer Lu

提供 librime-lua 取得 options, propretys 中的狀態 ## Pull request #### Issue tracker Fixes will automatically close the related issue Fixes # #### Feature Describe feature of pull request #### Unit...

## Pull request #### Issue tracker Fixes will automatically close the related issue Fixes # caret_pos 不在字尾時 ab^cd key : 'z' input = abcdz

## Pull request #### Issue tracker Fixes will automatically close the related issue Fixes # #### Feature Describe feature of pull request #### Unit test - [ ] Done ####...

## Pull request recognizer/patterns 增加 list 格式,以支援順序檢查 pattern 如範例 default.yaml 包含 upcase email... 可以避免 user tag 被 default 的 upcase 搶去 ```yaml recognizer/patterns: - pinyin: P[a-z']* tag_name: pattern #0 -...

## Pull request recognizer matcher 增加 @name_space 用於 patterns 有重疊時, 可以調整優先順序 ```yaml engine/processors: - recognizer - recognizer@recognizer2 engine/segmentors: - matcher - matcher@recognizer2 recognizer: #import_preset: default patterns: ... recognizer2: import_preset: default...

## Pull request add property to control Navigator property name : _navigator : [right|left]_by_[char|syllable] , [left|right] [home|end] rewind move_by_syllable: [-num|num] -left | +right #### Issue tracker Fixes will automatically close...

便於取得 substr , 減少 lua string.sub 定位問題 string.sub( inp, seg._start+1 , seg._end ) ```lua function tran.func(inp, seg, env) local active_inp = seg:active_text(inp) .... end ```

* Create obj * Set() * Set({}) * Set( ...) --> Set({...}) * methods * obj_set:keys() -- return list of key * obj_set:set(key) -- return self * obj_unset:(key) -- return...

在librime-lua(使用 系統lua 5.4) script 錯誤訊息是 找不到 lua_gettop 在 terninal 下的lua 的 require ok 目前是手動 下載 luarock package 把 so 檔案重新link gcc -shared -llua ..... 才正常