aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2020-06-25Report LuaCov coverage after running tests if it is enabled.mitchell
Uncomment the lines near the top of *core/init.lua* to enable LuaCov.
2020-06-22Removed unstable test handling.mitchell
`os.spawn()` issues in curses should be resolved now.
2020-06-22Added tests for external ctags, file_diff, history, and spellcheck modules.mitchell
2020-06-10Renamed some buffer/view fields to use American English instead of Australian.mitchell
This requires theme updates, primarily due to colour -> color.
2020-06-10Replaced `lfs.dir_foreach()` with `lfs.walk()` generator.mitchell
2020-06-09Prefer `view.call_tip_*` instead of `buffer.call_tip_*`.mitchell
2020-06-05Renamed `buffer:set_theme()` to `view:set_theme()` and fixed a bug with splits.mitchell
Also improved separate themes-per-view functionality.
2020-05-26Fixed undocumented regression with word completion and case sensitivity.mitchell
This feature was inadvertently removed during a refactor.
2020-05-25Test code cleanup.mitchell
2020-05-25Allow views to be used as buffers and update API.mitchell
This allows for a superficial separation of buffer- and view-specific Scintilla functionality. buffers and views can now be used interchangeably for the most part, and the APIs are guidance, not hard requirements. User scripts do not require any modification and will continue to function normally.
2020-05-24Restore prior key mode after running the command entry.mitchell
2020-05-24Updated tests for recent command entry history change.mitchell
2020-05-24Always use capital drive letters when opening files in Windows.mitchell
Since Windows filenames are case-insensitive, mismatched drive letter case may cause the same file to be open twice.
2020-03-26Switched to 1-based indices for buffer positions, lines, and countable entities.mitchell
2020-03-25Refactored buffer and view metamethods by splitting them up.mitchell
Grouping them saves a few lines of code, but it's not very maintainable.
2020-03-23Added unit tests for core code in textadept.c.mitchell
Most of the core is exercised by the Lua test suite, but coverage lapses can be uncovered using the GCC compiler flags "-fprofile-arcs -ftest-coverage"..
2020-03-18Added `ui.dialogs.progressbar()` and utilize it with Find in Files.mitchell
2020-03-17Added per-mode command entry history.mitchell
2020-03-17Align block comments by column if possible, not indent.mitchell
2020-03-17Event handlers can now return any non-nil value.mitchell
2020-03-16Moved individual buffer functions in `io` into `buffer`.mitchell
e.g. `io.reload_buffer()` was renamed `buffer:reload()`.
2020-03-16Renamed `keys.MODE` to `keys.mode`.mitchell
2020-03-16Use a default width for `ui.dialogs.filteredlist` dialogs.mitchell
Experience has shown a vast majority of filteredlist dialogs need to be wide. Use a standard width that needs to be overridden rather than remembered.
2020-03-16Detect and allow jumping to internal Lua errors.mitchell
2020-03-13Added session saving test.mitchell
2020-03-13More code cleanup, refactoring, and reformatting.mitchell
2020-03-12More code cleanup, refactoring, reformatting, and bug fixes.mitchell
2020-03-11Replaced `buffer.style_name` table with `buffer:name_of_style()`.mitchell
This requires Scintilla changeset 429993cf4429.
2020-03-11Updated tests.mitchell
2020-03-10Core code cleanup, reformat, refactoring, and bugfixes.mitchell
`events.FILE_CHANGED` was not emitting a filename. Added tests for key commands, keychains, and key modes.
2020-03-07Ask LPeg lexer which lexers are available instead of searching for them.mitchell
2020-03-05Added lexer tests.mitchell
2020-03-03Added tests for some complex menu functions.mitchell
2020-03-03Move test.lua into test folder.mitchell
2020-03-03Added test suite and API type checking for more helpful error messages.mitchell