Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

選択文字列から変換候補を逆引きして読みとして変換を再度開始 (再変換) #294

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mtgto
Copy link
Owner

@mtgto mtgto commented Jan 20, 2025

#278 エディタで文字列を選択した状態で C-/ 入力することで変換開始前に戻したようにします。
まだユニットテスト書いたり動作確認したりします。
実際にやっていることは次のようなものです。

  1. テキストエディタ (IMKTextInput) から選択中の文字列を取得する
  2. すべての辞書から変換候補と一致するものがあるかを逆引きする
  3. もし読みがあればその読みを入力中として処理する
2025-01-20.22.18.18.mov

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