Skip to content

feat(cjk): make pre-edit text tappable to commit raw input - #1024

Closed
Amazing-ikun wants to merge 1 commit into
LeanBitLab:mainfrom
Amazing-ikun:feat/cjk-tappable-preedit
Closed

Amazing-ikun wants to merge 1 commit into
LeanBitLab:mainfrom
Amazing-ikun:feat/cjk-tappable-preedit

Conversation

@Amazing-ikun

Copy link
Copy Markdown

The bracketed pinyin/romaji pre-edit label in the CJK candidate strip was display-only, so typing a literal Latin word forced users to press Enter. Tapping it now commits the raw pre-edit text, equivalent to pressing Enter.

The behavior replays the Enter keysym through the active CJK engine, so it matches the existing commit path without changing the plugin API. A new setting (Settings > Plugins > CJK Input) allows turning the tappable pre-edit text off; it defaults to on.

Summary of Changes

Motivation & Context

Closes #

Changes Made

Verification & Testing

  • Build compiles cleanly via ./gradlew :app:assembleStandardDebug
  • Tested on device / emulator
  • Verified zero typing latency impact on the input path
  • Checked for regressions across light and dark themes

Guidelines Checklist

  • This PR addresses a single focused concern.
  • Follows coding guidelines in CONTRIBUTING.md.
  • Does not add unnecessary dependencies or binary blobs.
  • No em dashes used in comments, descriptions, or documentation.

The bracketed pinyin/romaji pre-edit label in the CJK candidate strip was display-only, so typing a literal Latin word forced users to press Enter. Tapping it now commits the raw pre-edit text, equivalent to pressing Enter.

The behavior replays the Enter keysym through the active CJK engine, so it matches the existing commit path without changing the plugin API. A new setting (Settings > Plugins > CJK Input) allows turning the tappable pre-edit text off; it defaults to on.
@Amazing-ikun
Amazing-ikun deleted the feat/cjk-tappable-preedit branch November 30, 2026 16:07
@Amazing-ikun
Amazing-ikun restored the feat/cjk-tappable-preedit branch November 30, 2026 16:15
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