From 8cb98a9359a98827662f84c565902154d6e5e7b0 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 6 Nov 2018 08:34:09 -0500 Subject: Ensure 'Esc' clears highlighted words. --- modules/textadept/editing.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/textadept/editing.lua') 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 -- cgit v1.2.3