From 1618f5017abb3c9bacc9ba346bf22a936ef5dd06 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 3 Mar 2020 19:30:22 -0500 Subject: Fixed regression with deleting an auto-pair when backspacing over the first. This was caused by macros requiring the backspace key to be manually assigned. --- modules/textadept/editing.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/textadept') diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua index 125db11c..5ba6bdc6 100644 --- a/modules/textadept/editing.lua +++ b/modules/textadept/editing.lua @@ -151,7 +151,7 @@ events.connect(events.KEYPRESS, function(code) end end buffer:end_undo_action() -end) +end, 1) -- need index of 1 because default key handler halts propagation -- Highlights matching braces. events.connect(events.UPDATE_UI, function(updated) -- cgit v1.2.3