aboutsummaryrefslogtreecommitdiff
path: root/docs/api.md
AgeCommit message (Collapse)Author
2020-12-19Ensure a bare `ui.find.focus()` call resets incremental and in files options.mitchell
2020-11-30Updated for 11.0.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-30Updated for 11.0 beta 2.mitchell
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-30Updated for 11.0 beta.mitchell
2020-09-25Ensure version is included in Manual and API Documentation headers.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.