FA-7912 / Text editing / Member archive
Text selection replacement: Backward selections start replacement at the anchor · case 02
Backward selections start replacement at the anchor.
Case contract
Composition is preserved; replace the normalized half-open selection and collapse both endpoints immediately after inserted text.
Why this case matters
A deterministic model of text selection replacement; this isolates one interface invariant without requiring a browser.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| backward | ["abcdXYef", 6, 6] | ["aXYef", 3, 3] | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗