aboutsummaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2020-09-07Added `ui.find.active` and prevent word highlighting when searching.mitchell
Word auto-highlighting when searching is too distracting.
2020-09-04Small code cleanup.mitchell
2020-08-23Added "Edit > Preferences" menu item and key binding for opening user init.lua.mitchell
Also changed the mnemonic for "Edit > Filter Through" in the process.
2020-08-22Fixed some issues with r2916 discovered when running tests.mitchell
2020-08-22Improve handling of print buffers and splits.mitchell
Always split a single view if `ui.tabs` is `false` and prefer another split view if switching to an existing print buffer.
2020-08-22Do not remove initial 'Untitled' buffer during `ui._print()`.mitchell
I am not sure why this has been the case.
2020-08-21Code cleanup.mitchell
2020-08-21Added `keys.KEYSYMS` representations to LuaDoc.mitchell
2020-08-20Show "Match X/Y" in statusbar when searching for text.mitchell
2020-08-18Use "terminal version" instead of "curses" for more consistency.mitchell
2020-08-17Exclude Fossil version control directory in default filter.mitchell
2020-08-17Lua code formatting.mitchell
2020-08-17Updated some documentation and use macOS instead of Mac OSX.mitchell
2020-08-10Removed "View EOL" buffer setting.mitchell
2020-08-09When passing a directory as a command line argument, change to it.mitchell
This allows for running `textadept [projectdir]` and having the open dialogs start from there instead of `_HOME` or some other directory.
2020-08-08Removed "View EOL" menu item and key binding.mitchell
It does not seem necessary anymore.
2020-08-04Try to avoid using `lexer` as a string, as it overshadows the `lexer` module.mitchell
2020-08-04Updated LuaDoc.mitchell
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