aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-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)