Files
craft-libs/crates
skylartaylor be4474df6f Text fields: a delete before marked text moves the caret it leaves behind
Review (CodeRabbit): DeleteSurrounding moved the marked text's start
back with the deleted characters but left the selection the text part
keeps where it was, so a composition that ended without a commit (the
input method sending an empty pre-edit, or Escape) left the caret as
many characters too far right as were deleted before it. The selection
moves with the deletion whether or not the field composes, and a trial
marks "XY" after "abc", deletes the "c", ends the composition and checks
that the caret sits after "ab".
2026-11-25 21:28:32 +01:00
..
…
…
2026-11-21 21:26:02 +07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…