aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/command_entry.lua
AgeCommit message (Collapse)Author
2020-08-17Small code cleanup.mitchell
2020-08-04Try to avoid using `lexer` as a string, as it overshadows the `lexer` module.mitchell
2020-08-04Set `buffer.auto_c_order` prior to `buffer:auto_c_show()`.mitchell
This is good practice.
2020-07-25Moved incremental find into Find & Replace Pane.mitchell
Added new `events.FIND_TEXT_CHANGED` to help facilitate this. "Whole word" and "Regex" are now supported in addition to "Match case". Also updated tests.
2020-07-09Fixed display of API documentation in the command entry.mitchell
2020-06-28Changed keybinding modifier keys.mitchell
They had always been a bit counter-intuitive.
2020-05-25Allow views to be used as buffers and update API.mitchell
This allows for a superficial separation of buffer- and view-specific Scintilla functionality. buffers and views can now be used interchangeably for the most part, and the APIs are guidance, not hard requirements. User scripts do not require any modification and will continue to function normally.
2020-05-24Restore prior key mode after running the command entry.mitchell
2020-05-24Updated tests for recent command entry history change.mitchell
2020-04-29When running the command entry, initially show the mode's prior text.mitchell
This was the previous behavior, but did not distinguish between modes.
2020-03-30Fixed off-by-one issues with `buffer:get_cur_line()`.mitchell
2020-03-26Removed extra sets of () around some buffer function calls.mitchell
The Scintilla iface was changed to not return a second string length value.
2020-03-26Switched to 1-based indices for buffer positions, lines, and countable entities.mitchell
2020-03-22Use the statusbar to indicate an active snippet.mitchell
This helps avoid disorienting jumps when the user is not aware a snippet is still active.
2020-03-17Added per-mode command entry history.mitchell
2020-03-17Show XPM images in Lua command entry completions.mitchell
2020-03-16Renamed `keys.MODE` to `keys.mode`.mitchell
2020-03-13More code cleanup, refactoring, and reformatting.mitchell
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