aboutsummaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2020-08-04Prefer passing env table to `os.spawn()`.mitchell
It will construct "KEY=VALUE" list.
2020-08-03Updated LuaDoc.mitchell
2020-07-29Fixed `keys.keychain` access if #keychain > 1.mitchell
When clearing key sequences, preserve the table, as the `__index` metatable IS that table.
2020-07-28Updated for 11.0 alpha 3.mitchell
2020-07-27Updated to Scintilla 3.21.0.mitchell
2020-07-26Removed "Refresh syntax highlighting" feature.mitchell
This is a legacy feature for when multi-language lexers did not backtrack to keep track of what the current language is.
2020-07-26Small LuaDoc update.mitchell
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-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-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-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-13Limit word highlighting to single words.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-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-03Updated LuaDoc noting that `view.MOD_*` is different on Mac.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-25Fixed LuaDoc.mitchell
2020-06-22Fixed LuaDoc for `buffer:indicator_end()`.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-09Updated stale buffer parameter references in view LuaDoc.mitchell
2020-06-09Prefer `view.call_tip_*` instead of `buffer.call_tip_*`.mitchell
2020-06-08Prefer `view.property*` instead of `buffer.property*`.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-31Updated for 11.0 alpha 2.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-24Changed `os.spawn()` exit callback and `spawn_proc:wait()` behavior.mitchell
Since `waitpid()` cannot be used by both GLib (via `os.spawn()`) and `spawn_proc:wait()`, use only one or the other. Then clean up after process exit.
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-05-09Updated to Scintilla 3.20.0.mitchell
2020-04-16Updated LuaDoc.mitchell
2020-04-16Handle more Scintilla constants that need to be incremented by one.mitchell
2020-04-05Only print post-initialization errors to buffers.mitchell
This avoids infinite loops. Pre-initialization errors are already shown in textbox dialogs.
2020-03-30Fixed stale statusbar issues introduced recently.mitchell
2020-03-29Updated for 11.0 alpha.mitchell
2020-03-26Added support to identify projects under Fossil SCM.mitchell
2020-03-26Switched to 1-based indices for buffer positions, lines, and countable entities.mitchell
2020-03-22Use the statusbar to indicate an active snippet.mitchell
This helps avoid disorienting jumps when the user is not aware a snippet is still active.
2020-03-22More code cleanup, reformatting, refactoring, and bug fixing.mitchell
2020-03-18Added `ui.dialogs.progressbar()` and utilize it with Find in Files.mitchell
2020-03-17Updated LuaDoc.mitchell