aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/command_entry.lua
AgeCommit message (Collapse)Author
2020-03-10Removed '=' compatibility in Lua command entry.mitchell
Also performed some reformatting, refactoring, and code cleanup for the command entry module.
2020-03-03Added test suite and API type checking for more helpful error messages.mitchell
2020-02-28Allow view functions to be run from the command entry by name only.mitchell
2019-12-31Updated copyright year.mitchell
2019-11-08API file lists and Lua tags lists can contain functions that return file paths.mitchell
This gives more control over when to include certain autocompletion and documentation files like Textadept's API.
2019-11-07Split Lua and Textadept autocompletion and documentation files.mitchell
Textadept autocompletion and documentation is now only performed on Textadept files. Modified the LuaDoc doclet to only process "lua.luadoc" on its own, and updated the Makefile rule accordingly.
2019-11-07Removed deprecated `ui.command_entry` functions.mitchell
2019-09-22Replaced `ui.command_entry.*_mode()` with simplified `ui.command_entry.run()`.mitchell
The command entry no longer uses named key modes. Instead, mode keys are supplied to `run()` if necessary. The command entry remains modal, though.
2019-02-16Updated copyright year.mitchell
2018-12-08Only pass command entry text to finish mode function.mitchell
Silently passing second length parameter can cause subtle bugs in functions that accept more than one parameter.
2018-10-22Small code cleanup.mitchell
2018-05-27Properly handle abbreviated setting of write-only properties via command entry.mitchell
2018-01-25Updated copyright year.mitchell
2017-06-22Lua command entry improvements.mitchell
Mimic Lua 5.3 interpreter by auto-printing results and making '=' prefix optional, call returned functions implicitly (no calling parentheses required), and pretty print tables.
2016-12-31Updated copyright information.mitchell
2016-06-27Small code cleanup and documentation updates.mitchell
2016-04-15Use function notation for menu and key commands.mitchell
As a result, the undocumented `textadept.keys.utils` has been removed. Those functions have been moved directly into menu definitions and their corresponding keys have been bound to those menu functions (this also shows menu key shortcuts properly). Therefore, "textadept.menu" should be loaded before "textadept.keys" now. Also, setting `textadept.menu.menubar = {}` must be done within an `events.INITIALIZED` handler.
2016-04-05Reworked Lua completions; modules/textadept/command_entry.luamitchell
In addition to code cleanup, ':' limits results to functions.
2016-04-02Code cleanup.mitchell
Do not use `ipairs()` and use more consistent variable names among other things.
2015-12-31Updated copyright date.mitchell
2015-03-16Code cleanup based on the output of luacheck, a Lua linter.mitchell
2015-02-09Return values from abbreviated functions; modules/textadept/command_entry.luamitchell
2014-12-31Updated copyright year.mitchell
2014-11-30Show command entry call tips above it; modules/textadept/command_entry.luamitchell
2014-11-29Fixed command entry reset bug for real instead of in r1861.mitchell
2014-11-25Include buffer constants in completions; modules/textadept/command_entry.luamitchell
2014-11-15Fixed command entry reset bug now that the entry is a Scintilla buffer.mitchell
2014-11-12Code and documentation cleanup.mitchell
2014-10-13Parameterize lexer and height for `ui.command_entry.enter_mode()`.mitchell
Also enable more accurate Lua command completion.
2014-10-11Move the command entry into a split pane on GTK.mitchell
In the previous implementation without a split pane, the command entry could not shrink in size.
2014-10-07Automatically add standard editing keys; modules/textadept/command_entry.luamitchell
2014-10-06Fixed autocomplete bug in curses; modules/textadept/command_entry.luamitchell
2014-10-05Added editing keys for use with other modes; modules/textadept/command_entry.luamitchell
2014-10-05Replaced command entry text field with a Scintilla buffer.mitchell
`ui.command_entry` now has the same functions and fields as `buffer`s as well as an additional `height` property. Note that when the command entry is active, `_G.buffer` is unchanged, so many existing key commands cannot be bound to command entry key modes. See `keys.lua_command` in *modules/textadept/command_entry.lua* for the proper way to bind them. Removed `ui.command_entry.entry_text` and `ui.command_entry.show_completions()`.
2014-06-30Condensed manual and API documentation into single files.mitchell
2014-06-12Lua code cleanup.mitchell
2014-05-28Moved 'lua_command' mode into command entry module and removed some API funcs.mitchell
2014-03-01Use `assert(...)` as a shortcut for `if not ... then error() end`.mitchell
2014-01-12Updated copyright information.mitchell
2013-12-12More LuaDoc updates.mitchell
2013-11-10Updated LuaDoc.mitchell
2013-10-18More LuaDoc updates.mitchell
2013-09-23Code and documentation cleanup.mitchell
2013-09-13Updated some LuaDoc.mitchell
2013-09-06Updated LuaDoc.mitchell
2013-08-26Renamed `gui` to `ui` since it's more applicable.mitchell
2013-06-21Remove theme selection since it does not persist.mitchell
Encourage calling `gui.set_theme()` from *~/.textadept/init.lua* instead.
2013-05-26Rewrote some LuaDoc to use the active voice.mitchell
2013-05-20Print the results of '=' Lua expressions; modules/textadept/command_entry.luamitchell
2013-04-29More code cleanup.mitchell
"local buffer = buffer" and similar optimizations are not needed since lexing the buffer is much more expensive and reaction time is limited by how fast the keyboard can submit key presses.