mayrang

Results comments of mayrang

The fix looks right — `$insertFirst` matches the existing guard a few lines above (`insertAfterColumn < 0`) and the `$getGridTexts` helper makes the column-alignment assertion easy to read. Left a...

I ran into this issue while looking for things to work on. Tested the reference test from the description against the current `main` and the behavior has changed — `$insertNodes`...

`offset > 0` catches too much. Consider two tables back-to-back: `[Table1][Table2]`. The cursor between them is at root offset 1. Table1's handler sees `offset > 0`, stops the event, and...

The original symptom (only the first character inheriting bold) no longer reproduces on main — PR #8069 and PR #8162 fixed this by ensuring all replacement text inherits the first...

Looks good overall — a few suggestions inline on test coverage, a minor convention thing, and an alternative approach that avoids duplicating the existing backward-delete block in `deleteCharacter`.

Playground is now `defaultThemeName: null` (vars-only); `PlaygroundEditorTheme.css` reads `--shiki-light(-bg)` with `rgb(240, 242, 245)` as the off/Prism-mode fallback. Default config still has `themes: null`, so single-theme users get inline rgb with...

Confirmed — `data-theme` gets written but `$getHighlightNodes` doesn't read it, so the dropdown is dead in shiki mode. Playground runs `defaultThemeName: null` (vars-only, system light/dark via `light-dark()`). If someone picks...

Agreed — `Tokenizer` is leaky. `defaultTheme` and `$tokenize` are both bypassed in multi-theme mode (the JSDoc admits as much), and Prism's `Tokenizer` is a different shape. Direction we're leaning, unless...

BC route works — `Tokenizer` deprecated alias, `$tokenize` third arg, Tokenizer defaults below top-level. Starting on those. On the string-or-object dispatch — reading it as: collapse `themes` + `defaultThemeName` into...

Took your registry sketch and worked through it. Two designs I'd consider: Common base: ```ts type ShikiThemeDef = string | {light: string; dark: string}; type ShikiThemeSpec = ShikiThemeDef | ((codeNode:...