diff options
author | 2011-01-23 23:01:02 -0500 | |
---|---|---|
committer | 2011-01-23 23:01:02 -0500 | |
commit | 2d850989a2f3b6f5a8b16c64179ab394c9f0c332 (patch) | |
tree | 491b995f7652b7be3d88a2fb7c74719cf3872b13 /core | |
parent | 1c1e627ec05dd898bbd97f0e0cde055f34ff0f36 (diff) | |
download | textadept-2d850989a2f3b6f5a8b16c64179ab394c9f0c332.tar.gz textadept-2d850989a2f3b6f5a8b16c64179ab394c9f0c332.zip |
Send key modifiers to command_entry_keypress event.
Diffstat (limited to 'core')
-rw-r--r-- | core/.command_entry.luadoc | 7 |
1 files changed, 6 insertions, 1 deletions
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)<br /> -- Called when a command is entered into the Command Entry. -- - command: the string command. --- * **command\_entry\_keypress** (code)<br /> +-- * **command\_entry\_keypress** (code, shift, control, alt)<br /> -- Called when a key is pressed in the Command Entry. -- - code: the key code (according to `<gdk/gdkkeysyms.h>`). +-- - 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. +-- <br /> +-- Note: The Alt-Option key in Mac OSX is not available. --- Focuses the command entry. function focus() end |