aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2022-02-23Fixed bug in `ui.goto_file()` when specifying preferred view.mitchell
2022-01-31Updated copyright year.mitchell
2021-12-14Propagate Tab key to insert \t if necessary for previous commit.mitchell
2021-12-13Fixed attempted expansion of lexer name snippet that resolves to a table.mitchell
2021-11-30Added optional argument to `textadept.editing.enclose()` to keep text selected.mitchell
2021-11-29Make Lua autocomplete test more robust.mitchell
2021-10-12Test debugger history.mitchell
2021-10-12Updated debugger tests with watch variables (no break).mitchell
Also cleaned up code.
2021-10-06Test setting stack frames in the Lua debugger.mitchell
Requires the latest debugger module.
2021-10-06Do not use status buffers when running debugger tests.mitchell
This option exists in the latest debugger module.
2021-10-06Updated gdb debugger test.mitchell
Newer versions of gdb report different line numbers when stepping into functions.
2021-10-01Fixed uncommenting comments that are not initially aligned.mitchell
2021-09-30Updating some test data to reflect local environment changes.mitchell
After an OS upgrade, some /etc file permissions have changed, and spellcheck seems to have added 'foo'.
2021-06-12Fixed incorrect bitwise operation.mitchell
This consolidates changes from r3135 and r3149 and fixes an additional restore selection case.
2021-06-11Support "Replace All" in multiple and rectangular selection.mitchell
2021-06-10`textadept.editing.filter_through` respects multiple and rectangular ↵mitchell
selection now. The required Scintilla patch has been upstreamed and will be in the next release.
2021-06-05Allow "Replace All" for empty regex matches.mitchell
2021-05-01Revert printing test output to stdout.mitchell
This was not working as hoped in a headless test environment.
2021-05-01Print test output to stdout and add option to quit after running tests.mitchell
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-15Fixed a couple failing unit tests.mitchell
These were not defects, but "stylistic."
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-12Fixed some formatting controls.mitchell
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-28Updated lexer fold properties test.mitchell
Scintilla 5 and ILexer5 appear to fetch lexer properties with SCI_GETPROPERTY now.
2021-03-28Updated debugger tests with new project commands.mitchell
2021-02-15Fixed inability to replace found text with escapes like '\n' and '\t'.mitchell
2021-02-10Fixed failing test in the terminal version.mitchell
2021-01-29Updated copyright information.mitchell
2021-01-29Fixed typo in unit tests.mitchell
2021-01-28Fixed navigating back through history from a print buffer.mitchell
2021-01-24Fixed bug restoring view state in an intermediate buffer after closing one.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-15Do not show deleted files in recent file list.mitchell
2020-12-15Save the current session prior to loading another one.mitchell
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-03Fixed `lfs.walk()` bug with root directory.mitchell
Prevent dir to walk from becoming an empty string.
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-29Added more unit tests.mitchell
2020-10-25Handle more types of recursive symlinks in `lfs.walk()`.mitchell
2020-10-25Handle recursive symlinks in `lfs.walk()`.mitchell
2020-10-22`textadept.editing.strip_trailing_spaces` should not apply to binary files.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-17Added `textadept.run.set_arguments()`.mitchell
This replaces custom code in *modules/textadept/menu.lua*.
2020-10-13Implement \U, \L, \u, and \l case transformations in regex replacements.mitchell