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

Romaji.undecidedInputsにローマ字のプレフィクスの全パターンを登録する #291

Merged
merged 2 commits into from
Jan 19, 2025

Conversation

mtgto
Copy link
Owner

@mtgto mtgto commented Jan 18, 2025

#266 ローマ字かな変換ルールの読み込みの際に、 "abcd,あ" のように2文字以上のローマ字からなるルールがあり、かつ "a" + 任意のキー、もしくは "ab" + 任意のキーのどちらかのローマ字のルールがないときに変換できない問題を解消します。
ローマ字かな変換ルールを読み込む際のRomaji.undecidedInputsに、ローマ字のプレフィクスの全パターンを登録するように修正します。

例: "abcd,あ" というルールの場合

  • before: "abc" だけをプレフィクスとして登録していたので、"a" が入力されたときにローマ字の途中だと判定できてなかった
  • after: "a", "ab", "abc" をすべて登録する

@mtgto mtgto merged commit fa7f00b into main Jan 19, 2025
1 check passed
@mtgto mtgto deleted the register-all-prefix branch January 19, 2025 10:18
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