aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/lexers/oscript.tes
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2023-04-18 16:35:42 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2023-04-18 16:35:42 +0300
commit2f7266510a814ded6a53d9dfae6b61d4fb25f29e (patch)
treed799dbcdffed23e72ba75a2325c2531b2b299859 /lib/lexers/oscript.tes
parent941f48da6dde691a7800290cc729aaaacd051392 (diff)
downloadsciteco-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 'lib/lexers/oscript.tes')
0 files changed, 0 insertions, 0 deletions