Commit Graph
2 Commits
Author SHA1 Message Date
ZacharyZhang-NYandClaude Opus 5.5 cd61653ff1 Code editor: measure with the current text; the line end is a stop
CI / platforms (ubuntu-24.04) (push) Canceled after 0s
CI / site (push) Successful in 31s
CI / crate (push) Failing after 4m9s
CI / platforms (windows-latest) (push) Successful in 4m34s
Bracket and match offsets from the last draw belong to that text's
stamp, so an input-method edit before the next draw no longer splits
a character into font runs. A press past the last glyph's start picks
the nearer of that start and the line end.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-15 14:01:12 -04:00
ZacharyZhang-NYandClaude Opus 5.5 9fb607beb4 Code editor: columns sit where gpui lays them out
CI / platforms (ubuntu-24.04) (push) Canceled after 0s
CI / platforms (windows-latest) (push) Failing after 10s
CI / site (push) Successful in 22s
CI / crate (push) Failing after 11m53s
Carets, selections, presses and the input method box measured the line
as columns times one 'm', so a wide character (CJK, emoji) put the caret
mid-glyph. editor::measure lays out the drawn line; rulers and indent
guides stay on the column grid; whitespace marks hide the rest.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-15 12:21:22 -04:00