aboutsummaryrefslogtreecommitdiffstats
path: root/prototypes/workbench/evaluation.test.mjs
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-26 11:01:21 +0100
committereunhhu <[email protected]>2026-09-26 11:01:21 +0100
commit6e50736c576b93c09345dc63488bbb95e9203c13 (patch)
tree6c267b464f141edcaa340dbe24604069efda82d1 /prototypes/workbench/evaluation.test.mjs
parentb230b70252f09cf3425a8b4b959b3dfd72075b31 (diff)
downloadpure-6e50736c576b93c09345dc63488bbb95e9203c13.tar.gz
pure-6e50736c576b93c09345dc63488bbb95e9203c13.zip
Let a cursor stay before text inserted at it (a mark)
Text inserted at a cursor's position pushed every cursor there behind it. That suits a caret, not a remembered position: a mark, a selection's start or a bookmark should stay before the new text. A cursor state's reserved word in the module now carries a flag: 1 makes it a mark, which stays where text is inserted at it and otherwise follows edits as any cursor does. The flag is refused on other states and other values; existing modules, with 0 there, keep their meaning.
Diffstat (limited to 'prototypes/workbench/evaluation.test.mjs')
0 files changed, 0 insertions, 0 deletions