Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-01-31 | Updated copyright year. | ||
2021-06-11 | Support "Replace All" in multiple and rectangular selection. | ||
2021-06-05 | Allow "Replace All" for empty regex matches. | ||
2021-04-16 | Added ability to specify find & replace pane entry font via ↵ | ||
`ui.find.entry_font`. Also use type checks when setting find & replace text and labels. | |||
2021-04-14 | Attempt to restore view scroll state after `textadept.editing.filter_through()`. | ||
Also prefer `view.first_visible_line =` rather than `view:scroll_lines()` since the latter is only needed when display lines are involved. | |||
2021-04-11 | Initial pass reformatting all code. | ||
Use clang-format, LuaFormatter, and 100 character limit on lines. | |||
2021-02-15 | Fixed inability to replace found text with escapes like '\n' and '\t'. | ||
2021-01-29 | Updated copyright information. | ||
2020-12-19 | Ensure a bare `ui.find.focus()` call resets incremental and in files options. | ||
2020-11-10 | Added argument to `events.FIND_RESULT_FOUND`. | ||
This fixes a bug introduced by r3029 when invoking search via a macro. | |||
2020-10-30 | Moved find occurrence highlighting and counting into an event handler. | ||
2020-10-23 | Small code cleanup. | ||
2020-10-21 | Do not clear or perform find result highlighting in "Find in Files" buffer. | ||
When manually searching inside this buffer, leave existing highlights alone. | |||
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-13 | Construct regex replacement pattern from previous commit just once. | ||
2020-10-13 | Implement \U, \L, \u, and \l case transformations in regex replacements. | ||
2020-10-12 | Removed accidentally committed experimental code. | ||
2020-10-11 | Updated LuaDoc. | ||
2020-10-05 | Fixed advancing caret for incremental find when text is not found. | ||
2020-09-29 | Updated copyright information. | ||
2020-09-16 | Record directory for "find in files" searches. | ||
2020-09-16 | Always refresh in the terminal version during incremental find. | ||
2020-09-12 | Fixed restoration of replace entry text after "Replace All". | ||
2020-09-10 | Fixed error reporting the number of zero-length find results. | ||
2020-09-07 | Added `ui.find.active` and prevent word highlighting when searching. | ||
Word auto-highlighting when searching is too distracting. | |||
2020-09-07 | Added `events.FIND_RESULT_FOUND` and reverted scrolling change. | ||
Users who want to vertically center the caret or similar can connect to the event. | |||
2020-09-02 | First scroll find results into view, then vertically center the caret. | ||
Otherwise, find results on long lines will not be displayed. | |||
2020-08-27 | Disable `ui.find.highlight_all_matches` by default. | ||
It can be difficult to see what the current result is. | |||
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-20 | Show "Match X/Y" in statusbar when searching for text. | ||
2020-08-20 | Prevent infinite loops when highlighting found text. | ||
2020-08-18 | Center the caret vertically for find results. | ||
Iterating through find results seems a bit more intuitive. Also, for small views the scrolling was way too disorienting. | |||
2020-08-16 | Fixed a bug where filter text could always be put in the "Replace" entry. | ||
This happened when you activated "Find in Files" twice in a row. | |||
2020-08-08 | Use comma-separated patterns in find & replace pane's "Filter" field. | ||
2020-08-04 | Updated LuaDoc. | ||
2020-08-02 | Fixed regression with showing "No results found" in searches. | ||
2020-07-29 | Also updated stored filter of initial directory for Find in Files. | ||
If no project is found, and a folder other than the initial one is selected, the filter stored for that directory should still be shown if the user wants to Find in Files again from the same initial directory. | |||
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 | Fixed bug in incremental find in the terminal version. | ||
Also fixed a bug in setting `ui.find.replace_entry_text`. | |||
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-25 | Added option to highlight all occurrences of found text. | ||
This option is independent of `ui.highlight_words`. | |||
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-16 | Minor LuaDoc updates and spelling corrections. | ||
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-06-28 | Changed keybinding modifier keys. | ||
They had always been a bit counter-intuitive. | |||
2020-06-10 | Replaced `lfs.dir_foreach()` with `lfs.walk()` generator. | ||
2020-05-25 | Allow views to be used as buffers and update API. | ||
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-03-26 | Switched to 1-based indices for buffer positions, lines, and countable entities. | ||