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