aboutsummaryrefslogtreecommitdiff
path: root/core/.command_entry.luadoc
blob: cfc33b369dbf6ee3289e9c571eaad92c6ed27887 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
-- Copyright 2007-2011 Mitchell mitchell<att>caladbolg.net. See LICENSE.
-- This is a DUMMY FILE used for making LuaDoc for built-in functions in the
-- global gui.command_entry table.

---
-- Textadept's Command entry.
module('gui.command_entry')

-- Markdown:
-- ## Fields
--
-- * `entry_text`: The text in the entry.
--
-- ## 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