aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/menu.lua
AgeCommit message (Collapse)Author
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()`.
2014-03-01Use `assert(...)` as a shortcut for `if not ... then error() end`.mitchell
2014-01-12Updated copyright information.mitchell
2013-12-19Added configurable tab context menus.mitchell
Deprecated `textadept.menu.set_contextmenu()` in favor of new `textadept.menu.set_contextmenus()`.
2013-10-18Added "Save All" to the menu.mitchell
2013-10-18More LuaDoc updates.mitchell
2013-09-29Added new `ui.dialogs` module for more user-friendly dialog support.mitchell
As a result, removed `ui.filteredlist()` and changed `io.open_file()` and `io.snapopen()` APIs to accept tables of files and paths instead of "\n" delimited strings.
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-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-25Renamed `LANGUAGE_MODULE_LOADED` event to `LEXER_LOADED` and reverted r1500.mitchell
"Creating" non-existant modules is a bad idea and causes confusion.
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-06-24Consolidated bookmarks module's "goto" functions into a new `goto_mark()`.mitchell
2013-06-21Remove theme selection since it does not persist.mitchell
Encourage calling `gui.set_theme()` from *~/.textadept/init.lua* instead.
2013-05-29Load a language context menu based solely on lexer; modules/textadept/menu.luamitchell
2013-05-15Rewrote theme implementation.mitchell
Themes are now just single files that share Textadept's Lua state. Also added a new "settings.lua" that functions in place of buffer and view theme files. Requires latest Scintillua.
2013-04-30More code cleanup.mitchell
2013-04-29More code cleanup.mitchell
"local buffer = buffer" and similar optimizations are not needed since lexing the buffer is much more expensive and reaction time is limited by how fast the keyboard can submit key presses.
2013-04-26Consolidated the editing module's `grow_selection()` into `enclose_selected()`.mitchell
The former was originally designed to complement the latter.
2013-04-24Renamed `goto_file_in_list()` to `goto_file_found()` and revamped functionality.mitchell
Also changed experimental find incremental API.
2013-04-24Mark recognized errors in compile/run output and added navigation functions.mitchell
2013-04-24Moved `_M.textadept.filter_through` functionality into `editing` module.mitchell