aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/keys.lua
AgeCommit message (Collapse)Author
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.
2014-11-30Added UTF-8 input mode for OSX and curses; modules/textadept/keys.luamitchell
2014-11-29Show symbol documentation in the Lua command entry; modules/textadept/keys.luamitchell
2014-11-24Use Bash syntax highlighting for "filter through" via the command entry.mitchell
2014-10-30Ensure "find in files" is off when activating normal find.mitchell
2014-10-13Parameterize lexer and height for `ui.command_entry.enter_mode()`.mitchell
Also enable more accurate Lua command completion.
2014-10-11Grow and shrink views by an integral, not arbitrary, value.mitchell
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-09-17Added terminal key binding to stop the currently running process.mitchell
2014-08-15Reverted separating ^H from Backspace in the terminal version.mitchell
2014-08-13Separate ^H from Backspace in the terminal version.mitchell
Also have libtermkey take care of saving and restoring termios.
2014-06-30Condensed manual and API documentation into single files.mitchell
2014-05-28Store incremental find text for later use; modules/textadept/keys.luamitchell
2014-05-28Moved 'lua_command' mode into command entry module and removed some API funcs.mitchell
2014-05-28Removed `textadept.editing.select_indented_block()`.mitchell
2014-05-24Removed Adeptsense in favor of new framework committed in r1735.mitchell
Replaced ANSI C and Lua module Adeptsenses with their equivalent autocompleter functions.
2014-05-23Renamed `textadept.editing.autocomplete_word()` and added `AUTOCOMPLETE_ALL`.mitchell
The new `textadept.editing.autocomplete()` is a generic function for a new autocompletion framework that will replace Adeptsense. The framework involves individual autocompletion functions, such as one for autocompleting words. Also added new `AUTOCOMPLETE_ALL` setting for searching all buffers for word completions.
2014-05-19Use `spawn()` for launching help; modules/textadept/keys.luamitchell
2014-03-27Added basic project support for snapopen and build scripts.mitchell
Also fixed some curses errors introduced by the last commit.
2014-03-24Apparently newer versions of OSX use "Esc"; modules/textadept/keys.luamitchell
Corrected documentation.
2014-03-01Use `assert(...)` as a shortcut for `if not ... then error() end`.mitchell
2014-02-12Added split views in the terminal version thanks to Chris Emerson.mitchell
2014-01-12Updated copyright information.mitchell
2013-10-18Added "Save All" to the menu.mitchell
2013-09-21Renamed `buffer:convert_eo_ls()` to `buffer:convert_eols()`.mitchell
2013-09-16Removed the `SC` prefix from most constants in `_SCINTILLA.constants`.mitchell
2013-09-16Removed the `SC_` prefix from constants in `_SCINTILLA.constants`.mitchell
Also removed more unused constants.
2013-09-09Moved buffer IO functions into the `io` module.mitchell
Menus and key bindings do not need `events.INITIALIZED`.
2013-09-01Renamed `buffer:get_style_name(n)` to `buffer.style_name[n]`.mitchell
2013-08-31Allow user scripts to handle `BUFFER_NEW` and `VIEW_NEW` events on startup.mitchell
A side effect is more efficient event emission during startup.
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-24Include Scintilla constants in `buffer`s.mitchell
2013-07-08Renamed Textadept module's "mime_types" to "file_types" and removed config file.mitchell
2013-07-08Added curses keys to key bindings documentation; modules/textadept/keys.luamitchell
2013-06-24Consolidated bookmarks module's "goto" functions into a new `goto_mark()`.mitchell