From b7b98405089e69dfae0fc11e2a423860f50756e9 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Wed, 18 Sep 2024 12:32:16 +0200 Subject: check that local register is not edited at the end of macro calls * This was unsafe and could easily result in crashes, since teco_qreg_current would afterwards point to an already freed Q-Register. * Since automatically editing another register or buffer is not easy to do right, we throw an error instead. --- TODO | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index c3bbac5..e1d93d7 100644 --- a/TODO +++ b/TODO @@ -4,9 +4,6 @@ Tasks: "edit" hook. Known Bugs: - * A local Q-Register can be left as the edited document - even after invoking a macro via . - This is probably not safe and we should throw an error instead. * E%$...$ broken. Similarily EQ$file$ won't do what you would expect it to. * <23(1;)> leaves values on the stack and the internal hidden -- cgit v1.2.3