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 33e4f684..2d6ded80 100644
--- a/modules/textadept/editing.lua
+++ b/modules/textadept/editing.lua
@@ -466,7 +466,7 @@ local function clear_highlighted_words()
end
events.connect(events.KEYPRESS, function(code)
if keys.KEYSYMS[code] == 'esc' then clear_highlighted_words() end
-end)
+end, 1)
---
-- Highlights all occurrences of the selected text or all occurrences of the