hchunhui / librime-lua

Extending RIME with Lua scripts
BSD 3-Clause "New" or "Revised" License
359 stars 45 forks source link

CommitEntry add update(commit) update(entry, commit, prefix_str) #289

Closed shewer closed 10 months ago

shewer commented 1 year ago

struct CommitEntry 已有 Memory* 可以直接 update_entry

https://github.com/rime/librime/blob/cde8c2123c939417f45a4945e5439ea5cf9cee16/src/rime/gear/memory.cc#L105 https://github.com/rime/librime/blob/cde8c2123c939417f45a4945e5439ea5cf9cee16/src/rime/gear/memory.cc#L40-L46

DictEntry() 增加拷背機制 DictEntry( dictentry) commit_entry 內的 dictentry 為 coost DictEntry

mokapsing commented 11 months ago

希望早点合入