aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/menu.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-06-09Prefer `view.call_tip_*` instead of `buffer.call_tip_*`.mitchell
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-26Switched to 1-based indices for buffer positions, lines, and countable entities.mitchell
2020-03-22Use the statusbar to indicate an active snippet.mitchell
This helps avoid disorienting jumps when the user is not aware a snippet is still active.
2020-03-16Moved individual buffer functions in `io` into `buffer`.mitchell
e.g. `io.reload_buffer()` was renamed `buffer:reload()`.
2020-03-16Use a default width for `ui.dialogs.filteredlist` dialogs.mitchell
Experience has shown a vast majority of filteredlist dialogs need to be wide. Use a standard width that needs to be overridden rather than remembered.
2020-03-13More code cleanup, refactoring, and reformatting.mitchell
2020-03-11Replaced `buffer.style_name` table with `buffer:name_of_style()`.mitchell
This requires Scintilla changeset 429993cf4429.
2020-03-03Added tests for some complex menu functions.mitchell
2020-03-03Added test suite and API type checking for more helpful error messages.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.
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-09-17Fixed scroll issues when toggling line wrap.mitchell
The current line should always remain visible.
2019-07-30Use CP1252 instead of ISO-8859-1.mitchell
CP1252 is a superset of ISO-8859-1.
2019-06-01GTK+ was renamed to GTK recently.mitchell
2019-02-16Updated copyright year.mitchell
2018-10-23Make find and menu command selection more macro-friendly.mitchell
2018-10-22Added module for recording, playing, saving, and loading keyboard macros.mitchell
2018-10-22Small code cleanup.mitchell
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