Shewer Lu
Shewer Lu
我試着 產生 DbAccessor 後 ,關閉 leveldb 的確會崩潰 (TableDb 不會) 但是在lua_filter lua_translator 中使用應該不成問題 function init() 中開啓 userdb , function fini() 關閉userdb 在 function func() 中使用 DbAccessor 應該是可行的( func() 結束後 luaTransltion::~LuaTranslation() 會執行gc()
> 用`反查`来显示备注,这应该是反查功能的副产品吧?我觉得可以开发个专门用来显示备注的组件。 目前`reverse_lookup_filter`有个问题,就是不支持开关。`simplifier`才可以。 以上种种,都让显示备注这个功能受限了。 #590
佈署 建立字典 bin 檔 只要下列組參數即可 schema_list --> cangjie5 --> cangjie5v default.yaml ```yaml schema_list: - cangjie5 ``` 在主方案 中的 cangjie5.schema.yaml ```yaml schema/dependencies: - cangjie5v # 加入 engine/translators: - table_translator # 主字典...
> 可能有一定幫助吧。但是我也注意到 `update_notifier()` 等這一系列 getter 已經把 `Notifier` 對象暴露給其他組件了。 PR 裏的修改只能管住 `Context` 類的發的通知,管不住其他代碼發的通知。有沒有辦法? 已在 Context 加入 connect method 了, 也改了librime 中中有使用 notify 的code , 但沒有移除 notifier 外露 ,因為librime-lua script 還有在使用 notifier
原本只是要增加 Context notify 的接口,你提議想把 notifier 封裝起來,所以我再加上connect 接口.