Files
craft-libs/crates/behavior
skylartaylor 892a55b3ee SurroundingUnit: a character range wider than the text around the caret covers what there is
Review (aiongg): texts around the caret hold the text on one side of
it, and a block, a full-line delete or a control that asks for more
characters than there are made `Chars` return its raw count. A field
then took the count off a character index it no longer had, which
panicked in a debug build. Both counts are the characters the text
holds, as their docs already said.
2026-11-25 17:41:41 +01:00
..