ff7e9c0435ffbc109586bab0b2851e287842f088
iris has no tests at all, and the rule here is not to erect a harness where there is none -- but the editor is the exception on both counts. It is the one part of the library that is pure logic over a string and a layout rather than something needing a GPU and a window, and it was just rewritten wholesale onto parley's selection model with no way to exercise it: input cannot be synthesised in the headless compositor the examples run under, because it has no seat devices. Fourteen tests over insert, backspace, delete, span clearing, select-all, motion, single- versus multi-line, and take. Two are there for specific things the rewrite could plausibly have broken: the IME preedit path, which resends its whole composition each keystroke so `replace` has to remove exactly what it added last time, and editing text with multi-byte characters, since parley addresses by byte offset where the old code counted (line, index). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Languages
Rust
53%
Kotlin
44.4%
Shell
2.6%