aboutsummaryrefslogtreecommitdiff
path: root/core/.command_entry.luadoc
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2010-11-23 19:09:21 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2010-11-23 19:09:21 -0500
commit5f29cb8190dbee6bb10b4eb904c8c39750de352d (patch)
treeef9d178b4834087d829702d4894ec3b9330f3c0b /core/.command_entry.luadoc
parent1f3bbef0357b89f82a65d1e67caa1980eee3f40b (diff)
downloadtextadept-5f29cb8190dbee6bb10b4eb904c8c39750de352d.tar.gz
textadept-5f29cb8190dbee6bb10b4eb904c8c39750de352d.zip
Code cleanup.
Also modified the editing module's enclose() and select_enclosed() functions.
Diffstat (limited to 'core/.command_entry.luadoc')
-rw-r--r--core/.command_entry.luadoc12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/.command_entry.luadoc b/core/.command_entry.luadoc
index 93615f22..e474fa13 100644
--- a/core/.command_entry.luadoc
+++ b/core/.command_entry.luadoc
@@ -37,6 +37,18 @@ module('gui.command_entry')
-- `modules/textadept/find.lua` for the implementation.
--
-- [inc_search]: ../modules/gui.find.html#incremental
+--
+-- ## Events
+--
+-- The following is a list of all command entry events generated in
+-- `event_name(arguments)` format:
+--
+-- * **command\_entry\_command** (command)<br />
+-- Called when a command is entered into the Command Entry.
+-- - command: the string command.
+-- * **command\_entry\_keypress** (code)<br />
+-- Called when a key is pressed in the Command Entry.
+-- - code: the key code (according to `<gdk/gdkkeysyms.h>`).
--- Focuses the command entry.
function focus() end