From 2d850989a2f3b6f5a8b16c64179ab394c9f0c332 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sun, 23 Jan 2011 23:01:02 -0500 Subject: Send key modifiers to command_entry_keypress event. --- core/.command_entry.luadoc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'core') diff --git a/core/.command_entry.luadoc b/core/.command_entry.luadoc index cfc33b36..d26da77a 100644 --- a/core/.command_entry.luadoc +++ b/core/.command_entry.luadoc @@ -19,9 +19,14 @@ module('gui.command_entry') -- * **command\_entry\_command** (command)
-- Called when a command is entered into the Command Entry. -- - command: the string command. --- * **command\_entry\_keypress** (code)
+-- * **command\_entry\_keypress** (code, shift, control, alt)
-- Called when a key is pressed in the Command Entry. -- - code: the key code (according to ``). +-- - shift: flag indicating whether or not the Shift key is pressed. +-- - control: flag indicating whether or not the Control key is pressed. +-- - alt: flag indicating whether or not the Alt/Apple key is pressed. +--
+-- Note: The Alt-Option key in Mac OSX is not available. --- Focuses the command entry. function focus() end -- cgit v1.2.3