aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/menu.lua
AgeCommit message (Collapse)Author
2018-10-22Removed `textadept.editing.paste()` (pasted text is reindented).mitchell
It can be implemented as a separate user module instead.
2018-10-14Experimentally move external lspawn module into Lua os module as a patch.mitchell
2018-02-16Small code and documentation cleanup.mitchell
2018-01-25Updated copyright year.mitchell
2017-11-18Enforce extra argument to `buffer:brace_match()` introduced in Scintilla 3.7.0.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-08-09Ensure context menus are configurable without the need for events.mitchell
2017-02-28Updated localization string; modules/textadept/menu.luamitchell
Introduced in r2288 and r2291.
2016-12-31Updated copyright information.mitchell
2016-11-16Fixed bug in previous commit; modules/textadept/menu.luamitchell
2016-11-11Be more efficient when updating menu item functions; modules/textadept/menu.luamitchell
Updating the entire menu is overkill and seems to slow down upon `reset()`.
2016-11-04Removed MacRoman encoding option, as OSX uses UTF-8 by default.mitchell
2016-06-27Small code cleanup and documentation updates.mitchell
2016-06-16Changed arguments to `ui.goto_view()` and `view:goto_buffer()`.mitchell
They can accept either objects or relative numbers now. They do not accept absolute indices anymore.
2016-06-15Removed handling of tables as key/menu commands; use functions only.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-05-19Fixed stack overflow when accessing nil keys; modules/textadept/menu.luamitchell
2016-04-26Handle non-existent compile/run commands gracefully; modules/textadept/menu.luamitchell
2016-04-16Added menu item and dialog for setting run/compile command arguments.mitchell
2016-04-16Fixed error when showing style at buffer end; modules/textadept/menu.luamitchell
2016-04-15Allow `textadept.menu.menubar = nil`; modules/textadept/menu.luamitchell
This will hide the menubar, but allow `textadept.menu.select_command()` to keep functioning.
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-06Allow string lookup of menu items in menus; modules/textadept/menu.luamitchell
This is in addition to the existing number lookup.
2016-04-02Code cleanup.mitchell
Do not use `ipairs()` and use more consistent variable names among other things.
2016-01-29Added '-v' and '--version' command line parameters.mitchell
2015-12-31Updated copyright date.mitchell
2015-03-16Code cleanup based on the output of luacheck, a Lua linter.mitchell
2015-03-12Lua code cleanup.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-02-18Consider some view-specific properties as buffer-specific ones.mitchell
These include "view_eol", "wrap_mode", "view_ws", "margin_type_n", and "margin_width_n". The latter two are for preventing clashes between modules that modify margins on a per-buffer basis.
2015-01-29Removed language-specific context menus.mitchell
Editing `textadept.menu.context_menu` directly is good enough.
2014-12-31Updated copyright year.mitchell
2014-12-24Small code and documentation cleanup.mitchell
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-06-30Condensed manual and API documentation into single files.mitchell
2014-05-29Fix bug when copying an existing menu/submenu; modules/textadept/menu.luamitchell
2014-05-28Updated LuaDoc.mitchell
2014-05-28Textadept's menus may be edited in-place via the `textadept.menu` module.mitchell
Any changes, even incremental ones, are reflected immediately. As a result, removed `set_menubar()` and `set_contextmenus()` from API.
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-19Fixed bug in opening Manual from Help menu; modules/textadept/menu.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-26Include my new "lspawn" module by default for spawning processes.mitchell
The `textadept.run` module now uses `spawn()` instead of `io.popen()`. This module replaces the dependency on winapi. Removed experimental `io.popen()` and `os.execute()` hooks. They may be re-implemented later using `spawn()`.