aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-25Fixed initial setting of `ui.find.replace_entry_text` in the GUI.mitchell
GtkEntries are initialized with the same initial text pointer, which makes it impossible to initially differentiate between `find_text` and `repl_text` by their text pointers alone.
2020-07-25Fixed bug in incremental find in the terminal version.mitchell
Also fixed a bug in setting `ui.find.replace_entry_text`.
2020-07-25More code cleanup.mitchell
Use C99's stdbool.h.
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-25Added option to highlight all occurrences of found text.mitchell
This option is independent of `ui.highlight_words`.
2020-07-24Updated to latest Scintilla hg for curses' `scintilla_get_clipboard()`.mitchell
Required for previous commit.
2020-07-24Code cleanup.mitchell
2020-07-23Updated LuaDoc.mitchell
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-16Minor LuaDoc updates and spelling corrections.mitchell
2020-07-16Renamed `events.AUTO_C_CANCELLED` to `events.AUTO_C_CANCELED`.mitchell
Australian English to American English.
2020-07-16Ensure buffer selection session data is saved.mitchell
It is possible to have in a non-current view a buffer without saved selection data.
2020-07-15Call `os.spawn()` exit callback after `proc:wait()`.mitchell
Added tests for `os.spawn()`.
2020-07-14Renamed os.spawn() parameter from 'argv' to 'cmd'.mitchell
There should be no confusion that it's a command line string, not a table of strings.
2020-07-14`ui.dialogs.optionselect()` changes `informative_text` option to `text`.mitchell
This is more consistent with other non-text-input dialog options.
2020-07-14Renamed `textadept.editing.block_comment()` to `toggle_comment()`.mitchell
2020-07-13Limit word highlighting to single words.mitchell
2020-07-13Note that `Esc` clears word highlighting.mitchell
2020-07-13Test setting styles directly via `lexer.styles`.mitchell
Requires latest Scintilla for proper `lexer.colors` return types.
2020-07-13Make `lexer` global by default when it's available.mitchell
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-13Reverted LuaDoc for `buffer:indicator_end()`.mitchell
2020-07-12Made `ui.find.goto_file_found()` and `textadept.run.goto_error()` args optional.mitchell
2020-07-12Fixed --line command line switch.mitchell
Line number strings need to be converted to numbers.
2020-07-12Read from system `LUA_PATH` and `LUA_CPATH` instead of custom env vars.mitchell
Textadept's paths have higher priority anyway.
2020-07-12Be more consistent with "key sequences", "key commands", and "key bindings".mitchell
Sequences are key strings, commands are Lua functions, and bindings are commands assigned to sequences.
2020-07-12Updated macro record to use new modifier keys.mitchell
2020-07-09Fixed display of API documentation in the command entry.mitchell
2020-07-08Fixed error style in the light theme.mitchell
2020-07-08Auto-convert '#RRGGBB' format theme colors to 0xBBGGRR number format.mitchell
This allows for use of colors directly in view functions.
2020-07-08Reverted accidental test changes.mitchell
2020-07-08Reverted accidental commit of experimental 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-07-03Added support for Fennel.mitchell
Thanks to Momohime Honda.
2020-07-03Updated LuaDoc noting that `view.MOD_*` is different on Mac.mitchell
2020-07-01Only save before compile/run if the buffer has been modified.mitchell
Auto-saving interferes with commands that read file modification times.
2020-06-30Ignore language name in language-specific keys when warning about compatibility.mitchell
2020-06-29Enabled compatibility message for old key modifiers.mitchell
2020-06-28Updated Lua autocompletion and documentation.mitchell
2020-06-28Renamed `ui.bufstatusbar_text` to `ui.buffer_statusbar_text`.mitchell
2020-06-28Be more consistent with Command key variable name.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.