aboutsummaryrefslogtreecommitdiff
path: root/core/keys.lua
AgeCommit message (Collapse)Author
2020-11-10Fill `keys` and `snippet` tables with language-specific tables on init.mitchell
This allows users and language modules to easily add bindings and snippets without stepping on each other.
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-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-09-04Small code cleanup.mitchell
2020-08-21Added `keys.KEYSYMS` representations to LuaDoc.mitchell
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-04Try to avoid using `lexer` as a string, as it overshadows the `lexer` module.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-06-28Changed keybinding modifier keys.mitchell
They had always been a bit counter-intuitive.
2020-03-16Update LuaDoc.mitchell
2020-03-16Renamed `keys.MODE` to `keys.mode`.mitchell
2020-03-14More code cleanup, refactoring, and reformatting.mitchell
2020-03-10Core code cleanup, reformat, refactoring, and bugfixes.mitchell
`events.FILE_CHANGED` was not emitting a filename. Added tests for key commands, keychains, and key modes.
2020-03-03Added test suite and API type checking for more helpful error messages.mitchell
2020-02-26Small code cleanup.mitchell
2019-12-31Updated copyright year.mitchell
2019-02-16Updated copyright year.mitchell
2018-01-25Updated copyright year.mitchell
2016-12-31Updated copyright information.mitchell
2016-09-29Discard Alt/option modifier for composed ASCII symbols; core/keys.luamitchell
For example this should report 'm{' as just '{' on a Spanish OSX key layout.
2016-08-11Fixed caps lock key handling.mitchell
2016-06-15Removed handling of tables as key/menu commands; use functions only.mitchell
2016-06-15Renamed "snapopen" to "quick open" in APIs and menus.mitchell
2016-04-02Code cleanup.mitchell
Do not use `ipairs()` and use more consistent variable names among other things.
2015-12-31Updated copyright date.mitchell
2015-03-12Lua code cleanup.mitchell
2015-03-12Removed `keys.LANGUAGE_MODULE_PREFIX` key binding.mitchell
2015-03-11Updated to Lua 5.3, LPeg 0.12.2, and lfs 1.6.3.mitchell
LuaJIT uses Lua 5.3's new utf8 library. Restored documentation for Lua 5.1 symbols and added deprecation notes.
2015-03-11Temporarily restore definition of `keys.LANGUAGE_MODULE_PREFIX`.mitchell
This is to avoid 3rd party language module breakage in 7.x. Will be removed in 8.0.
2015-03-09Removed `keys.LANGUAGE_MODULE_PREFIX` since language modules no longer use it.mitchell
Made a note in module documentation that there has been a traditional keychain reserved for use by language modules.
2014-12-31Updated copyright year.mitchell
2014-11-11Added keysym for Keypad Enter; core/keys.luamitchell
2014-10-05Replaced command entry text field with a Scintilla buffer.mitchell
`ui.command_entry` now has the same functions and fields as `buffer`s as well as an additional `height` property. Note that when the command entry is active, `_G.buffer` is unchanged, so many existing key commands cannot be bound to command entry key modes. See `keys.lua_command` in *modules/textadept/command_entry.lua* for the proper way to bind them. Removed `ui.command_entry.entry_text` and `ui.command_entry.show_completions()`.
2014-06-30Condensed manual and API documentation into single files.mitchell
2014-06-12Lua code cleanup.mitchell
2014-06-07Added buffer constants to buffer LuaDoc and improved Lua tags and api generator.mitchell
2014-05-29Code cleanup.mitchell
2014-05-28Updated LuaDoc.mitchell
2014-01-12Updated copyright information.mitchell
2013-12-18Enable read-only access to the current chain of key sequences; core/keys.luamitchell
2013-10-18More LuaDoc updates.mitchell
2013-09-23Code and documentation cleanup.mitchell
2013-09-09Moved buffer IO functions into the `io` module.mitchell
Menus and key bindings do not need `events.INITIALIZED`.
2013-09-06Updated LuaDoc.mitchell
2013-08-26Renamed `_M.textadept` to `textadept`; `_M` is for language modules only now.mitchell
2013-08-26Renamed `gui` to `ui` since it's more applicable.mitchell
2013-08-10Updated some documentation.mitchell
2013-07-08Renamed "language-specific" modules to just "language modules" in documentation.mitchell