aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/keys.lua
AgeCommit message (Collapse)Author
2022-01-31Updated copyright year.mitchell
2021-04-11Initial pass reformatting all code.mitchell
Use clang-format, LuaFormatter, and 100 character limit on lines.
2021-01-29Updated copyright information.mitchell
2021-01-22Added `textadept.run.test()` and `textadept.run.test_commands`.mitchell
This enables the running of project tests.
2021-01-22Small code cleanup.mitchell
2020-10-20Code cleanup.mitchell
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-08Added `textadept.history` module for recording and navigating position history.mitchell
2020-09-29Updated copyright information.mitchell
2020-09-13Lots of documentation updates.mitchell
Updated header id generation, anchors, links, and header levels. Added dedicated book page and support data. Removed extra module autocompletion and documentation from Lua module. Removed GPG signing and verification, as everything is built and distributed on GitHub. Removed all release links prior to 10.8 since there is no point in uploading the relevant files to GitHub.
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-18Use "terminal version" instead of "curses" for more consistency.mitchell
2020-08-17Updated some documentation and use macOS instead of Mac OSX.mitchell
2020-08-08Removed "View EOL" menu item and key binding.mitchell
It does not seem necessary anymore.
2020-08-08Updated find & replace pane key bindings.mitchell
In the GUI, Enter and Shift+Enter invoke Find Next and Find Prev, respectively. In the terminal, Up, Down, and Tab toggle between buttons more consistently; removed Shift-Tab binding. Also fixed entry drawing issue with Tab.
2020-08-01Fixed word left/right key bindings on macOS.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-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-14Renamed `textadept.editing.block_comment()` to `toggle_comment()`.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-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-06-28Changed keybinding modifier keys.mitchell
They had always been a bit counter-intuitive.
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-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-03-16Moved individual buffer functions in `io` into `buffer`.mitchell
e.g. `io.reload_buffer()` was renamed `buffer:reload()`.
2020-03-12More code cleanup, refactoring, and reformatting.mitchell
2020-02-22Separated `_G.snippets` from `textadept.snippets`.mitchell
Removed leading '_' from snippet methods, but kept compatibility for now.
2020-02-21Removed '_' mnemonics from locale keys.mitchell
Kept backward-compatibility for now.
2020-02-21Tweaked localization keys.mitchell
This is in anticipate of removing '_' from keys, which would have created duplicate keys.
2020-02-18Added snippet trigger word completion.mitchell
Also refactored snippet lookup, added options to Lua and C modules to include snippet triggers in autocompletion lists, swapped snippet keybindings, and fixed a bug recognizing lexer-specific snippet files as global.
2020-02-07Support more Alt and Shift+Alt keys in Win32 curses.mitchell
2019-12-31Updated copyright year.mitchell
2019-09-23Replaced `textadept.macros.*_recording()` with `textadept.macros.record()`.mitchell
Also updated keybindings.
2019-09-22Replaced `ui.command_entry.*_mode()` with simplified `ui.command_entry.run()`.mitchell
The command entry no longer uses named key modes. Instead, mode keys are supplied to `run()` if necessary. The command entry remains modal, though.
2019-09-21Added back "Paste Reindent", but as a separate menu/key/command from "Paste".mitchell
2019-08-08Fixed LuaDoc for keybindings.mitchell
2019-07-30Use CP1252 instead of ISO-8859-1.mitchell
CP1252 is a superset of ISO-8859-1.
2019-02-16Updated copyright year.mitchell
2018-11-27Fixed Alt+Gr key handling in the Windows terminal version.mitchell
2018-11-07Restored default behavior of "Home" and "Shift+Home" on non-OSX platforms.mitchell
2018-10-27Fixed regression with snippet expansion caused by new macro support.mitchell
2018-10-22Added module for recording, playing, saving, and loading keyboard macros.mitchell
2018-10-22Removed `textadept.editing.paste()` (pasted text is reindented).mitchell
It can be implemented as a separate user module instead.
2018-03-16Emacs-style ^K for OSX and Curses should join lines at EOL.mitchell
2018-02-25Update of libtermkey requires ^H to be manually defined as backspace.mitchell
2018-02-24Terminal key sequence for Ctrl+Space is now 'c ' instead of 'c@'.mitchell
2018-02-16Small code and documentation cleanup.mitchell
2018-01-25Updated copyright year.mitchell
2017-11-10Removed redundant "Select in delimiter" menus and keys.mitchell
They can be auto-detected now.
2017-11-10Removed `textadept.editing.match_brace()`.mitchell
"Select to Matching Brace" has been moved into `textadept.editing.select_enclosed()`, which now automatically determines what to select between if no arguments are given.
2017-11-07Pasted text is reindented by default.mitchell