aboutsummaryrefslogtreecommitdiff
path: root/modules/lua
AgeCommit message (Collapse)Author
2021-06-11Updated Lua autocompletion and documentation.mitchell
2021-05-30Updated LuaDoc.mitchell
2021-05-29Updated to Scintilla 5.0.3.mitchell
Updated themes to use new `view.element_color` and treat all colors as opaque if no alpha was given.
2021-04-30Replaced `events.FILE_{BEFORE,AFTER}_RELOAD` with ↵mitchell
`events.BUFFER_{BEFORE,AFTER}_REPLACE_TEXT`. This allows more features to save/restore state when buffer contents are replaced (e.g. file reload, filter through, etc.)
2021-04-16Added ability to specify find & replace pane entry font via ↵mitchell
`ui.find.entry_font`. Also use type checks when setting find & replace text and labels.
2021-04-14Updated Scintilla iface LuaDoc.mitchell
2021-04-13Updated to Scintilla 5.0.1 and latest Scintillua and Scinterm.mitchell
Some of the Scintilla API has changed, and by extension the Scintillua API.
2021-04-11Initial pass reformatting all code.mitchell
Use clang-format, LuaFormatter, and 100 character limit on lines.
2021-02-20Updated to Lua 5.4.2.mitchell
2021-02-09Added `ui.SHOW_ALL_TABS` option for `ui.tabs`.mitchell
Textadept hides the first tab by default since its information is duplicated in the titlebar and screen space is wasted. However, some users choose to hide titlebars (e.g. on window maximize/fullscreen), so this option now exists.
2021-01-29Updated copyright information.mitchell
2021-01-22`io.get_project_root()` accepts an optional flag for returning a submodule root.mitchell
This is for systems like git that have '.git' files (not directories) for submodules under a parent '.git' directory.
2021-01-22Added `textadept.run.test()` and `textadept.run.test_commands`.mitchell
This enables the running of project tests.
2021-01-22Compile, run, and build command functions can also return environment tables.mitchell
2020-12-19Ensure a bare `ui.find.focus()` call resets incremental and in files options.mitchell
2020-12-11Updated Go error patterns.mitchell
2020-11-30Updated LuaDoc.mitchell
2020-11-16Added `events.UNFOCUS` for when Textadept loses focus.mitchell
Do not emit this event when a dialog is active.
2020-11-10Added argument to `events.FIND_RESULT_FOUND`.mitchell
This fixes a bug introduced by r3029 when invoking search via a macro.
2020-11-10Fill `keys` and `snippet` tables with language-specific tables on init.mitchell
This allows users and language modules to easily add bindings and snippets without stepping on each other.
2020-11-01Added optional mode parameter to `ui.command_entry.append_history()`.mitchell
This allows for arbitrary appending to history, not just for the current or most recent mode.
2020-10-27Updated LuaDoc.mitchell
2020-10-20Code cleanup.mitchell
Of note: * io.save_all_files() does not visit each buffer to save anymore. An unintended side-effect was checking for outside modification (but only if the file itself was modified), so outside changes will always be saved over now. * The menu clicked handler uses assert_type(), so the 'Unknown command' localization is no longer needed. * When printing to a new buffer type would split the view, use an existing split view when possible. * Prefer 'goto continue' construct in loops over nested 'if's. * Fixed clearing of ui.find.replace_entry_text on reset in the GUI version. * Fixed lack of statusbar updating when setting options like buffer EOL mode, indentation, and encoding. * Renamed internal new_snippet() to new() and put it in the snippet metatable.
2020-10-12Updated LuaDoc for `ui.command_entry.append_history()`.mitchell
Clarify that it's not normally needed.
2020-10-12Added `ui.command_entry.append_history()` for manually appending history.mitchell
Normally history is auto-appended by the default '\n' key handler, but some custom modes may have their own '\n' handlers and did not have a way to append history.
2020-10-11Updated LuaDoc.mitchell
2020-10-08Small LuaDoc update.mitchell
2020-10-08Added `textadept.history` module for recording and navigating position history.mitchell
2020-10-05Various manual and documentation updates.mitchell
2020-10-02Command entry also considers contents of `textadept` as globals.mitchell
Include buffer/view constants as well, which should have been there anyway.
2020-09-30Updated Lua autocompletion and documentation.mitchell
2020-09-29Updated copyright information.mitchell
2020-09-19Updated to Scintilla 4.4.5 and Scintillua 4.4.5-1.mitchell
2020-09-19Added `events.COMMAND_TEXT_CHANGED`.mitchell
This is analagous to `events.FIND_TEXT_CHANGED`.
2020-09-19Added `events.FILE_{BEFORE,AFTER}_RELOAD` and save/restore bookmarks.mitchell
Also moved buffer state save/restore into ui module.
2020-09-19Added `ui.update()` for unit tests.mitchell
2020-09-14Refresh generated documentation.mitchell
2020-09-14More small documentation updates.mitchell
2020-09-13Updated LuaDoc to avoid writing '{{'.mitchell
This confuses Jekyll's Liquid tag processing.
2020-09-13Lots of documentation updates.mitchell
Updated header id generation, anchors, links, and header levels. Added dedicated book page and support data. Removed extra module autocompletion and documentation from Lua module. Removed GPG signing and verification, as everything is built and distributed on GitHub. Removed all release links prior to 10.8 since there is no point in uploading the relevant files to GitHub.
2020-09-04Renamed doc/ to docs/ and removed bombay dependency.mitchell
Added some documentation infrastructure for eventual migration to a new build service. Use a simple Lua script for generating documentation offline.
2020-09-04Added support for building with Docker and dropped automated Linux i386 builds.mitchell
Also tweaked Makefile with basic git support for an eventual migration to a new build service.
2020-09-04Small code cleanup.mitchell
2020-08-23Document terminal color restrictions in Lua API, not the Manual.mitchell
2020-08-21Added `keys.KEYSYMS` representations to LuaDoc.mitchell
2020-08-17Small code cleanup.mitchell
2020-08-17Added `textadept.editing.auto_enclose` for auto-enclosing selected text.mitchell
2020-08-04Try to avoid using `lexer` as a string, as it overshadows the `lexer` module.mitchell
2020-08-04Updated LuaDoc.mitchell
2020-08-03Updated to latest Scintilla hg to get `lexer.fold_consecutive_lines()`.mitchell