aboutsummaryrefslogtreecommitdiff
path: root/core/ext/command_entry.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2009-07-13 16:33:06 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2009-07-13 16:33:06 -0400
commit95a7662f208271ca305844266ff74062d50dff5b (patch)
tree390a7524d3608760ca47b9d42bad5710e6f6c892 /core/ext/command_entry.lua
parentce026c2b52f0461b02b2af4d89fbcce3c8994848 (diff)
downloadtextadept-95a7662f208271ca305844266ff74062d50dff5b.tar.gz
textadept-95a7662f208271ca305844266ff74062d50dff5b.zip
Added incremental find.
Diffstat (limited to 'core/ext/command_entry.lua')
-rw-r--r--core/ext/command_entry.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/ext/command_entry.lua b/core/ext/command_entry.lua
index 6d46c5c6..4c1ab0dd 100644
--- a/core/ext/command_entry.lua
+++ b/core/ext/command_entry.lua
@@ -7,6 +7,7 @@ textadept.events.add_handler('command_entry_command',
function(command) -- execute a Lua command
local f, err = loadstring(command)
if err then error(err) end
+ textadept.command_entry.focus() -- toggle focus to hide
f()
end)