aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2020-03-03 19:30:22 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2020-03-03 19:30:22 -0500
commit1618f5017abb3c9bacc9ba346bf22a936ef5dd06 (patch)
tree3fdb48c2ec40288705c05ad7f125240e0af3ad2a /modules/textadept
parente3b22735816c76f915817e54251da574a95c5fd5 (diff)
downloadtextadept-1618f5017abb3c9bacc9ba346bf22a936ef5dd06.tar.gz
textadept-1618f5017abb3c9bacc9ba346bf22a936ef5dd06.zip
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.
Diffstat (limited to 'modules/textadept')
-rw-r--r--modules/textadept/editing.lua2
1 files changed, 1 insertions, 1 deletions
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)