Skip to content

feat: support clause boundary adjustment with Shift+Left/Right, Related to #6#28

Open
stakeval0 wants to merge 2 commits into
7ka-Hiira:mainfrom
stakeval0:feature/issue6-clause-boundary
Open

feat: support clause boundary adjustment with Shift+Left/Right, Related to #6#28
stakeval0 wants to merge 2 commits into
7ka-Hiira:mainfrom
stakeval0:feature/issue6-clause-boundary

Conversation

@stakeval0

Copy link
Copy Markdown

Issue #6 を解決するための機能を実装してみました!

変更内容

  • 候補リストを表示したまま変換対象を調整できるようにする
    • Shift+Left/Right後に通常の変換候補を再生成
    • 部分確定後に未変換テキストの残りを保持
    • Escで文節境界調整から全体変換候補へ戻れるようにする

テスト環境

  • Kubuntu 26.04 (X11)

Kubuntu 24.04 でも動作確認はできていますが、ビルドのためにCMake周りへ追加の変更を加えた環境を使用しています。
なお、それらの変更は本PRの内容には含まれていません。

2026-05-10.15-47-59.resized.mp4

初めてのPull Requestですので、問題点などありましたらご指摘いただけると幸いです。

stakeval0 added 2 commits May 11, 2026 02:53
Allow adjusting the conversion target while the candidate list is open.

- regenerate normal conversion candidates after Shift+Left/Right
- keep the remaining unconverted text after partial commit
- allow Esc to return from clause-boundary adjustment to full-range candidates
- Prevent crash when Shift+Left reaches the start of the
  conversion string
- Ensure at least one character remains in the conversion target
- Move most conversion logic from the C++ UI layer to the
  server-side Swift implementation
@stakeval0 stakeval0 changed the base branch from refactor-settings to main May 26, 2026 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant