Skip to content

Fix soft-wrap overflow for wide CJK graphemes - #15712

Open
WantenMN wants to merge 1 commit into
helix-editor:masterfrom
WantenMN:fix_softwrap
Open

WantenMN wants to merge 1 commit into
helix-editor:masterfrom
WantenMN:fix_softwrap

Conversation

@WantenMN

@WantenMN WantenMN commented May 5, 2026

Copy link
Copy Markdown
Contributor

Fixed #6585

matoous added a commit to mitos-editor/mitos that referenced this pull request Oct 24, 2026
Wide characters could begin in the last viewport column and overflow the rendered line. Wrap before a grapheme that will not fit and treat wide characters as word boundaries so CJK text wraps naturally. Adapt the text-only predicate in core and formatting behavior in text-layout.

Upstream-PR: helix-editor/helix#15712
Upstream-Commit: 86a64647de292a6956dd3d71a125feb657a5f612

Co-authored-by: Wanten <WantenMN@gmail.com>

This branch has not been deployed

No deployments
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.

soft warp hides Chinese punctuation at ↪

1 participant