summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-02-11 13:06:19 +1100
committerMaxime Coste <mawww@kakoune.org>2018-02-11 13:06:19 +1100
commit66fe2d84daa1ec72c2eb1385b1d8da705277403e (patch)
tree5326fb976627721b564e3ee7e8126cd8dab9db19 /test
parent3584e00d19f542aa15a74fe411a3a7ddebd89037 (diff)
Refuse modification of ReadOnly buffers and make Debug buffer readonly
The debug buffer is a bit special as lots of events might mutate it, permitting it to be modified leads to some buggy behaviour: For example, `pipe` uses a ForwardChangeTracker to track buffer changes, but when applied on a debug buffer with the profile flag on, each shell execution will trigger an additional modification of the buffer while applying the changes, leading to an assertion failing as changes might not be happening in a forward way anymore. Trying to modify a debug buffer will now raise an error immediatly.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions