aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2020-08-17Added `textadept.editing.auto_enclose` for auto-enclosing selected text.mitchell
2020-08-08Removed "View EOL" menu item and key binding.mitchell
It does not seem necessary anymore.
2020-08-08Use comma-separated patterns in find & replace pane's "Filter" field.mitchell
2020-08-04Try to avoid using `lexer` as a string, as it overshadows the `lexer` module.mitchell
2020-08-04Prefer passing env table to `os.spawn()`.mitchell
It will construct "KEY=VALUE" list.
2020-08-03Updated to latest Scintilla hg to get `lexer.fold_consecutive_lines()`.mitchell
2020-08-02Fixed regression with showing "No results found" in searches.mitchell
2020-07-29Removed index conversion in tests.mitchell
These were vestigial from when 0-based indices were used.
2020-07-25Find & Replace Pane now allows file filters to be specified for Find in Files.mitchell
Also updated `ui.find.focus()` to accept an optional table of options (e.g. in_files, incremental, etc.) for convenience.
2020-07-25Moved word highlighting back into editing module and disable by default.mitchell
Also fixed `HIGHLIGHT_SELECTED` behavior with non-word selections.
2020-07-25Added find incremental test for whole word option.mitchell
2020-07-25Moved incremental find into Find & Replace Pane.mitchell
Added new `events.FIND_TEXT_CHANGED` to help facilitate this. "Whole word" and "Regex" are now supported in addition to "Match case". Also updated tests.
2020-07-19Make `ui.highlight_words` a multi-option setting.mitchell
Highlighting the current word could be useful instead of just the selected word.
2020-07-18Updated to latest Scintilla for new `lexer.fold*` API.mitchell
This replaces the need for `view.property['fold*'] = ...`
2020-07-15Call `os.spawn()` exit callback after `proc:wait()`.mitchell
Added tests for `os.spawn()`.
2020-07-14Renamed `textadept.editing.block_comment()` to `toggle_comment()`.mitchell
2020-07-13Limit word highlighting to single words.mitchell
2020-07-13Test setting styles directly via `lexer.styles`.mitchell
Requires latest Scintilla for proper `lexer.colors` return types.
2020-07-13Auto-highlight all occurrences of selected words and find results.mitchell
This supercedes `textadept.editing.highlight_word()`, which has been removed. Changed the color of word highlights in themes.
2020-07-12Made `ui.find.goto_file_found()` and `textadept.run.goto_error()` args optional.mitchell
2020-07-08Reverted accidental test changes.mitchell
2020-07-07Added `lexer.colors` and `lexer.styles` and updated themes to utilize them.mitchell
This allows for a more Lua table-oriented approach to defining and using colors and styles, instead of manually manipulating Scintilla property strings. Themes are still backwards compatible, as the underlying mechanisms are still in place.
2020-07-04Added `buffer:style_of_name()` as an analogue to `buffer:name_of_style()`.mitchell
2020-06-28Changed keybinding modifier keys.mitchell
They had always been a bit counter-intuitive.
2020-06-27Updated file_diff test.mitchell
2020-06-25Improve code coverage in some tests.mitchell
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