Train AK: the Vim block cursor covers the character under it #635

Closed
kayg wants to merge 0 commits from train/2026-10-20ak into dev
Owner

Train AK ran the full suite: fmt, clippy, workspace tests, the build, svelte-check, and every Playwright project in parallel shards.

Failures, each checked:

  • smart-note:19 (chromium-1440): 3 of 3 alone.
  • swipe-rows:516 (chromium-390): 24 of 24 alone (whole describe, repeat 3); load flake.

Contents:

  • #631: the Vim block cursor now covers exactly the character under it. Its width, top and height come from the editor's own measurement of that character (packages/editor/src/vim/blockfit.ts), so it fits proportional fonts, wide glyphs and line ends. New test e2e/vim-block.spec.ts.

🤖 Generated with Claude Code

https://claude.ai/code/session_01U5oTUycqAh7DT72mdSUztk

Train AK ran the full suite: fmt, clippy, workspace tests, the build, svelte-check, and every Playwright project in parallel shards. Failures, each checked: - `smart-note:19` (chromium-1440): 3 of 3 alone. - `swipe-rows:516` (chromium-390): 24 of 24 alone (whole describe, repeat 3); load flake. Contents: - #631: the Vim block cursor now covers exactly the character under it. Its width, top and height come from the editor's own measurement of that character (`packages/editor/src/vim/blockfit.ts`), so it fits proportional fonts, wide glyphs and line ends. New test `e2e/vim-block.spec.ts`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01U5oTUycqAh7DT72mdSUztk
The block took only the letter's left edge from the page and drew its own copy of the letter,
so tabular figures (log times), wide glyphs and decorated spans came out narrower and offset.
It now takes the rect the browser painted for the character and its font settings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01U5oTUycqAh7DT72mdSUztk
Merge remote-tracking branch 'origin/issue/vim-block-cursor' into train/2026-10-20ak
Some checks failed
CI / server (pull_request) Successful in 26s
CI / web (pull_request) Failing after 46s
CI / rust (pull_request) Successful in 4m10s
a479b72b93
Author
Owner

This PR's commits are on dev (landed). Forgejo kept it open and its merge endpoint answers 405, so it is closed by hand.

This PR's commits are on dev (landed). Forgejo kept it open and its merge endpoint answers 405, so it is closed by hand.
kayg closed this pull request 2026-10-21 11:32:33 +00:00
Some checks failed
CI / server (pull_request) Successful in 26s
CI / web (pull_request) Failing after 46s
CI / rust (pull_request) Successful in 4m10s

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal!635
No description provided.