diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2023-04-18 16:35:42 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2023-04-18 16:35:42 +0300 |
commit | 2f7266510a814ded6a53d9dfae6b61d4fb25f29e (patch) | |
tree | d799dbcdffed23e72ba75a2325c2531b2b299859 /src/qreg.h | |
parent | 941f48da6dde691a7800290cc729aaaacd051392 (diff) | |
download | sciteco-2f7266510a814ded6a53d9dfae6b61d4fb25f29e.tar.gz |
fixup a6b5394086260c262e393dd113057916fd14134b: emit undo tokens for insert_len
* Turns out it is impossible - or at least very tricky - to avoid undo token emission
for insert_len.
I therefore opt for stability rather than saving memory.
* The old workaround introduced in a6b5394086260c262e393dd113057916fd14134b would actually
fail if you do not rub out the string argument completely after interruption. I.e.
You type <Ihello^J$>, interrupt - insert_len may be != 0 at this point - and _partially_
rubout the insert-command and continue typing.
This could still crash the editor.
Diffstat (limited to 'src/qreg.h')
0 files changed, 0 insertions, 0 deletions