Add modern candidate window UI customization#881
Open
omni624562 wants to merge 2 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary / 摘要
中文
這個 PR 接上新版 libIME2
CandidateWindow能力,讓 PIME 的候選窗可以由輸入法設定頁控制外觀與行為。主要內容:
customizeUI控制候選窗樣式English
This PR wires PIME to the new libIME2
CandidateWindowcapabilities, allowing candidate window appearance and behavior to be configured from IME settings pages.Highlights:
customizeUIflow so Python backends can configure candidate window stylingDependency / 相依 PR
中文
此 PR 依賴 libIME2 的新版
CandidateWindowPR,需先合併或一起測試:English
This PR depends on the libIME2 modern
CandidateWindowPR and should be merged/tested together with it:Compatibility / 相容性
中文
新版候選窗 UI 由設定控制;未啟用新版 UI 時,既有 legacy 候選窗流程應維持相容。
English
The modern candidate window UI is controlled by configuration. When disabled, the existing legacy candidate window behavior should remain compatible.
Validation / 驗證
git diff --checkpython -m py_compile python\cinbase\config.py python\cinbase\__init__.py python\cinbase\cin.py python\cinbase\configtool.py python\input_methods\chewing\chewing_config.py python\input_methods\chewing\chewing_ime.py python\input_methods\chewing\config_tool.py python\textService.py python\server.pypython -m unittest tests.test_backend_resiliencecmake --build build --config Release --target PIMETextServiceon Win32cmake --build build64 --config Release --target PIMETextServiceon x64