aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/keys.lua
AgeCommit message (Collapse)Author
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
2017-06-30Small LuaDoc update.mitchell
2017-05-26Changed "Cancel Snippet" keybinding to `Esc`.mitchell
2016-12-31Updated copyright information.mitchell
2016-11-04Removed MacRoman encoding option, as OSX uses UTF-8 by default.mitchell
2016-09-15Updated key bindings list; modules/textadept/keys.luamitchell
2016-07-04Replaced Lua pattern matching with Regex via Scintilla and TRE.mitchell
As a result, changed `ui.find.lua` to `ui.find.regex` Also removed luautf8 dependency since it is no longer needed. Regex replacements cannot contain embedded Lua code. Jumping to "find in files" results selects those results instead of just jumping to their respective lines.
2016-06-15Lots of small LuaDoc improvements (grammar mainly).mitchell
2016-06-15Removed explicit detection and use of extinct CR line endings.mitchell
It's quite possible some of Textadept's functions didn't handle them properly anyway.
2016-06-15Renamed "snapopen" to "quick open" in APIs and menus.mitchell
2016-04-29Added keybinding for setting compile/run args; modules/textadept/keys.luamitchell
2016-04-15Use function notation for menu and key commands.mitchell
As a result, the undocumented `textadept.keys.utils` has been removed. Those functions have been moved directly into menu definitions and their corresponding keys have been bound to those menu functions (this also shows menu key shortcuts properly). Therefore, "textadept.menu" should be loaded before "textadept.keys" now. Also, setting `textadept.menu.menubar = {}` must be done within an `events.INITIALIZED` handler.
2016-04-06Do not assume 1-byte characters in incremental find; modules/textadept/keys.luamitchell
2015-12-31Updated copyright date.mitchell
2015-06-27The Enter key is always reported as '\n' on Windows; modules/textadept/keys.luamitchell
It may have been reported as '\r' long ago in previous versions of GTK or pdcurses, but on WinXP and Win7, it is always '\n'.
2015-03-16Code cleanup based on the output of luacheck, a Lua linter.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-01-15Restore ^Z as undo if terminal suspend is disabled; modules/textadept/keys.luamitchell
2014-12-31Updated copyright year.mitchell
2014-12-23Enable suspend in the terminal version.mitchell
Patch libtermkey to allow this and also to support mouse enabling/disabling. Needed to change ^Z undo to M-Z and added M-S-Z as extra redo.
2014-11-30Show character info with lexer and style call tip; modules/textadept/keys.luamitchell
Added binding for the terminal version.