aboutsummaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
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-12Fixed a bug where redoing a full-buffer change could jump to an unrelated state.mitchell
Do a simple position save instead of using the history mechanism.
2021-04-11Save/restore view state when undoing/redoing full-buffer changes.mitchell
For example external code formatting commands that replace buffer contents.
2021-04-11Initial pass reformatting all code.mitchell
Use clang-format, LuaFormatter, and 100 character limit on lines.
2021-03-11Do not mark GCC-style "note:" output as compile/run/build/test errors.mitchell
2021-02-20Updated to Lua 5.4.2.mitchell
2021-02-15Fixed inability to replace found text with escapes like '\n' and '\t'.mitchell
2021-02-11Added support for TypeScript.mitchell
Requires latest Scintillua.
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-28Fixed navigating back through history from a print buffer.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-22Small code cleanup.mitchell
2021-01-22Compile, run, and build command functions can also return environment tables.mitchell
2021-01-12Added Xs support.mitchell
Requires latest Scintillua.
2021-01-12Added systemd support.mitchell
Requires latest Scintillua.
2021-01-12Added Spin support.mitchell
Requires latest Scintillua.
2021-01-12Added RouterOS support.mitchell
Requires latest Scintillua.
2021-01-12Added fstab support.mitchell
Requires latest Scintillua.
2021-01-12Added systemd-networkd support.mitchell
Requires latest Scintillua.
2021-01-12Added Zig support.mitchell
Requires latest Scintillua.
2021-01-11Added Reason support.mitchell
Requires latest Scintillua.
2021-01-11Added Pony support.mitchell
Requires latest Scintillua.
2021-01-11Added Meson support.mitchell
Requires latest Scintillua.
2021-01-11Added Julia support.mitchell
Requires latest Scintillua.
2021-01-11Added Fantom support.mitchell
Requires latest Scintillua.
2021-01-11Added Elm support.mitchell
Requires latest Scintillua.
2021-01-11Added Clojure support.mitchell
Requires latest Scintillua.
2021-01-08Fixed minor file extension issues.mitchell
Forth and F# had a clash, and pico8 was using the wrong lexer name.
2020-12-19Ensure a bare `ui.find.focus()` call resets incremental and in files options.mitchell
2020-12-15Save the current session prior to loading another one.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-30Moved find occurrence highlighting and counting into an event handler.mitchell
2020-10-27Updated LuaDoc.mitchell
2020-10-23Small code cleanup.mitchell
2020-10-22`textadept.editing.strip_trailing_spaces` should not apply to binary files.mitchell
2020-10-21Do not clear or perform find result highlighting in "Find in Files" buffer.mitchell
When manually searching inside this buffer, leave existing highlights alone.
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-17Fixed "Enclose as XML Tags" with multiple selections.mitchell
2020-10-17Added `textadept.run.set_arguments()`.mitchell
This replaces custom code in *modules/textadept/menu.lua*.
2020-10-13Moved `ui.command_entry.active` into C.mitchell
It's more reliable and is similar to `ui.find.active`.
2020-10-13Construct regex replacement pattern from previous commit just once.mitchell
2020-10-13Implement \U, \L, \u, and \l case transformations in regex replacements.mitchell
2020-10-12Removed accidentally committed experimental code.mitchell