summaryrefslogtreecommitdiff
path: root/src/normal.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-28 19:00:49 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:15 -0300
commit8948c9ec1b8ade3d1e4ed7103fd4f6d17a8ea23e (patch)
tree0e7ca727fd79fd0c1605a166203917db3d968566 /src/normal.zig
parent5a5c9c9698c2621d3509c687880d22e904f25139 (diff)
downloadpardes-8948c9ec1b8ade3d1e4ed7103fd4f6d17a8ea23e.tar.gz
pardes-8948c9ec1b8ade3d1e4ed7103fd4f6d17a8ea23e.zip
A replace through data or body, truncate then write, is one undo step
A shell's printf x > data truncates the addressed range and then writes, and each pushed its own undo point, so one replace took two Undos. A truncation of data, xdata or body now lets the write that follows it at once join its step, as acme's replace is one. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/normal.zig')
0 files changed, 0 insertions, 0 deletions