aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
Commit message (Collapse)AuthorAge
...
* Handle more types of recursive symlinks in `lfs.walk()`.Gravatar mitchell2020-10-25
|
* Handle recursive symlinks in `lfs.walk()`.Gravatar mitchell2020-10-25
|
* `textadept.editing.strip_trailing_spaces` should not apply to binary files.Gravatar mitchell2020-10-22
|
* Code cleanup.Gravatar mitchell2020-10-20
| | | | | | | | | | | | | | | | 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.
* Added `textadept.run.set_arguments()`.Gravatar mitchell2020-10-17
| | | | This replaces custom code in *modules/textadept/menu.lua*.
* Implement \U, \L, \u, and \l case transformations in regex replacements.Gravatar mitchell2020-10-13
|
* Added `ui.command_entry.append_history()` for manually appending history.Gravatar mitchell2020-10-12
| | | | | | 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.
* Updated spellchecking tests with various, non-UTF-8 encodings.Gravatar mitchell2020-10-08
|
* Added `textadept.history` module for recording and navigating position history.Gravatar mitchell2020-10-08
|
* Fixed advancing caret for incremental find when text is not found.Gravatar mitchell2020-10-05
|
* Command entry also considers contents of `textadept` as globals.Gravatar mitchell2020-10-02
| | | | Include buffer/view constants as well, which should have been there anyway.
* Fixed bad test.Gravatar mitchell2020-10-02
| | | | It was failing in a group setting, not individually.
* Updated copyright information.Gravatar mitchell2020-09-29
|
* Fixed `io.quick_open()` not doing anything when file limit was exceeded.Gravatar mitchell2020-09-27
|
* Added `events.COMMAND_TEXT_CHANGED`.Gravatar mitchell2020-09-19
| | | | This is analagous to `events.FIND_TEXT_CHANGED`.
* Added `events.FILE_{BEFORE,AFTER}_RELOAD` and save/restore bookmarks.Gravatar mitchell2020-09-19
| | | | Also moved buffer state save/restore into ui module.
* Record directory for "find in files" searches.Gravatar mitchell2020-09-16
|
* No need for "-e" in simple sed invocations.Gravatar mitchell2020-09-16
|
* Fixed restoration of replace entry text after "Replace All".Gravatar mitchell2020-09-12
|
* Added test file hidden by my local hgignore.Gravatar mitchell2020-09-09
|
* Fixed find highlighting test failure.Gravatar mitchell2020-09-07
| | | | | `ui.find.highlight_all_matches` was changed to `false` by default, so enable it for this test.
* Fixed restoring find & replace pane's replace text outside of "Find in Files".Gravatar mitchell2020-08-27
|
* Fixed bug where jumping to a find in files result of length 1 highlights wrong.Gravatar mitchell2020-08-23
|
* Added `ui.command_entry.active` and fixed bugs in `events.KEYPRESS` handlers.Gravatar mitchell2020-08-22
|
* Added `textadept.editing.auto_enclose` for auto-enclosing selected text.Gravatar mitchell2020-08-17
|
* Removed "View EOL" menu item and key binding.Gravatar mitchell2020-08-08
| | | | It does not seem necessary anymore.
* Use comma-separated patterns in find & replace pane's "Filter" field.Gravatar mitchell2020-08-08
|
* Try to avoid using `lexer` as a string, as it overshadows the `lexer` module.Gravatar mitchell2020-08-04
|
* Prefer passing env table to `os.spawn()`.Gravatar mitchell2020-08-04
| | | | It will construct "KEY=VALUE" list.
* Updated to latest Scintilla hg to get `lexer.fold_consecutive_lines()`.Gravatar mitchell2020-08-03
|
* Fixed regression with showing "No results found" in searches.Gravatar mitchell2020-08-02
|
* Removed index conversion in tests.Gravatar mitchell2020-07-29
| | | | These were vestigial from when 0-based indices were used.
* Find & Replace Pane now allows file filters to be specified for Find in Files.Gravatar mitchell2020-07-25
| | | | | Also updated `ui.find.focus()` to accept an optional table of options (e.g. in_files, incremental, etc.) for convenience.
* Moved word highlighting back into editing module and disable by default.Gravatar mitchell2020-07-25
| | | | Also fixed `HIGHLIGHT_SELECTED` behavior with non-word selections.
* Added find incremental test for whole word option.Gravatar mitchell2020-07-25
|
* Moved incremental find into Find & Replace Pane.Gravatar mitchell2020-07-25
| | | | | | 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.
* Make `ui.highlight_words` a multi-option setting.Gravatar mitchell2020-07-19
| | | | Highlighting the current word could be useful instead of just the selected word.
* Updated to latest Scintilla for new `lexer.fold*` API.Gravatar mitchell2020-07-18
| | | | This replaces the need for `view.property['fold*'] = ...`
* Call `os.spawn()` exit callback after `proc:wait()`.Gravatar mitchell2020-07-15
| | | | Added tests for `os.spawn()`.
* Renamed `textadept.editing.block_comment()` to `toggle_comment()`.Gravatar mitchell2020-07-14
|
* Limit word highlighting to single words.Gravatar mitchell2020-07-13
|
* Test setting styles directly via `lexer.styles`.Gravatar mitchell2020-07-13
| | | | Requires latest Scintilla for proper `lexer.colors` return types.
* Auto-highlight all occurrences of selected words and find results.Gravatar mitchell2020-07-13
| | | | | This supercedes `textadept.editing.highlight_word()`, which has been removed. Changed the color of word highlights in themes.
* Made `ui.find.goto_file_found()` and `textadept.run.goto_error()` args optional.Gravatar mitchell2020-07-12
|
* Reverted accidental test changes.Gravatar mitchell2020-07-08
|
* Added `lexer.colors` and `lexer.styles` and updated themes to utilize them.Gravatar mitchell2020-07-07
| | | | | | | 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.
* Added `buffer:style_of_name()` as an analogue to `buffer:name_of_style()`.Gravatar mitchell2020-07-04
|
* Changed keybinding modifier keys.Gravatar mitchell2020-06-28
| | | | They had always been a bit counter-intuitive.
* Updated file_diff test.Gravatar mitchell2020-06-27
|
* Improve code coverage in some tests.Gravatar mitchell2020-06-25
|