From 102c01ba2db51190c7c79592a6ea2fdb29d4d4fa Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 17 Jun 2008 16:43:09 -0400 Subject: Added Tab-completion to Lua Command Entry. --- core/.command_entry.lua | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 core/.command_entry.lua (limited to 'core/.command_entry.lua') 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 mitchellcaladbolg.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 -- cgit v1.2.3