aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
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
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-08Updated spellchecking tests with various, non-UTF-8 encodings.mitchell
2020-10-08Added `textadept.history` module for recording and navigating position history.mitchell
2020-10-05Fixed advancing caret for incremental find when text is not found.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-10-02Fixed bad test.mitchell
It was failing in a group setting, not individually.
2020-09-29Updated copyright information.mitchell
2020-09-27Fixed `io.quick_open()` not doing anything when file limit was exceeded.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-16Record directory for "find in files" searches.mitchell
2020-09-16No need for "-e" in simple sed invocations.mitchell
2020-09-12Fixed restoration of replace entry text after "Replace All".mitchell
2020-09-09Added test file hidden by my local hgignore.mitchell