aboutsummaryrefslogtreecommitdiff
path: root/core/.command_entry.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/.command_entry.lua')
-rw-r--r--core/.command_entry.lua25
1 files changed, 25 insertions, 0 deletions
diff --git a/core/.command_entry.lua b/core/.command_entry.lua
new file mode 100644
index 00000000..6de23763
--- /dev/null
+++ b/core/.command_entry.lua
@@ -0,0 +1,25 @@
+-- Copyright 2007 Mitchell mitchell<att>caladbolg.net. See LICENSE.
+-- This is a DUMMY FILE used for making LuaDoc for built-in functions in the
+-- global textadept.command_entry table.
+
+---
+-- Textadept's Lua command entry.
+-- [Dummy file]
+module('textadept.command_entry')
+
+---
+-- Textadept's Lua command entry table.
+-- @class table
+-- @name textadept.command_entry
+-- @field entry_text The text in the entry.
+command_entry = {}
+
+--- Focuses the command entry.
+function focus() end
+
+---
+-- Gets completions for the current command_entry text.
+-- This function is called internally and shouldn't be called by script.
+-- @param command The command to complete.
+-- @return sorted table of completions
+function get_completions_for(command) end