Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-01-11 | Added Clojure support. | ||
Requires latest Scintillua. | |||
2020-11-10 | Fill `keys` and `snippet` tables with language-specific tables on init. | ||
This allows users and language modules to easily add bindings and snippets without stepping on each other. | |||
2020-10-20 | Code cleanup. | ||
Of note: * io.save_all_files() does not visit each buffer to save anymore. An unintended side-effect was checking for outside modification (but only if the file itself was modified), so outside changes will always be saved over now. * The menu clicked handler uses assert_type(), so the 'Unknown command' localization is no longer needed. * When printing to a new buffer type would split the view, use an existing split view when possible. * Prefer 'goto continue' construct in loops over nested 'if's. * Fixed clearing of ui.find.replace_entry_text on reset in the GUI version. * Fixed lack of statusbar updating when setting options like buffer EOL mode, indentation, and encoding. * Renamed internal new_snippet() to new() and put it in the snippet metatable. | |||
2020-09-29 | Updated copyright information. | ||
2020-09-14 | More small documentation updates. | ||
2020-09-13 | Lots of documentation updates. | ||
Updated header id generation, anchors, links, and header levels. Added dedicated book page and support data. Removed extra module autocompletion and documentation from Lua module. Removed GPG signing and verification, as everything is built and distributed on GitHub. Removed all release links prior to 10.8 since there is no point in uploading the relevant files to GitHub. | |||
2020-08-10 | Updated LuaDoc. | ||
2020-08-04 | Try to avoid using `lexer` as a string, as it overshadows the `lexer` module. | ||
2020-08-04 | Set `buffer.auto_c_order` prior to `buffer:auto_c_show()`. | ||
This is good practice. | |||
2020-05-25 | Allow views to be used as buffers and update API. | ||
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-26 | Switched to 1-based indices for buffer positions, lines, and countable entities. | ||
2020-03-22 | Use the statusbar to indicate an active snippet. | ||
This helps avoid disorienting jumps when the user is not aware a snippet is still active. | |||
2020-03-16 | Use a default width for `ui.dialogs.filteredlist` dialogs. | ||
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-14 | More code cleanup, refactoring, and reformatting. | ||
2020-03-03 | Added test suite and API type checking for more helpful error messages. | ||
2020-02-22 | Separated `_G.snippets` from `textadept.snippets`. | ||
Removed leading '_' from snippet methods, but kept compatibility for now. | |||
2020-02-19 | Updated LuaDoc. | ||
2020-02-18 | Added snippet trigger word completion. | ||
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-18 | Fixed bug when snippet end placeholder is lost. | ||
The first character in the snippet was being deleted. An example of the end placeholder being lost is when it and the caret are at the end of the line and Enter is pressed -- the autoindent feature appears to delete it. This fix assumes a snippet of at least length 1 was inserted. | |||
2019-12-31 | Updated copyright year. | ||
2019-02-16 | Updated copyright year. | ||
2018-11-12 | Handle potential mismatch between snippet in buffer and snippet in memory. | ||
Snippet prev/next coupled with subsequent edits may cause the buffer to contain an unexpected snippet placeholder. Handle it gracefully. | |||
2018-07-28 | Removed optional '*' prefix in I/O reads. | ||
Lua 5.3 made them optional and LuaJIT support has been dropped. | |||
2018-04-25 | Removed LuaJIT version of Textadept. | ||
Also updated to Lua 5.3 syntax where held back by LuaJIT's 5.1/5.2 syntax. | |||
2018-01-25 | Updated copyright year. | ||
2017-05-26 | Changed "Cancel Snippet" keybinding to `Esc`. | ||
2017-05-26 | Fixed bug that deleted characters outside of mangled snippets. | ||
2017-04-18 | Fixed some instances of snippet insertion with selected text. | ||
Ensure snippet start position is as far back as possible. | |||
2016-12-31 | Updated copyright information. | ||
2016-06-27 | Show file-based snippets in the selection dialog; modules/textadept/snippets.lua | ||
2016-06-27 | Added `textadept.snippets._paths` for file-based snippets. | ||
Thanks to Michael Richter for the idea. | |||
2016-06-15 | Lots of small LuaDoc improvements (grammar mainly). | ||
2016-04-16 | Small code cleanup. | ||
2016-04-11 | Fixed regression for `%<...>` and `%[...]`; modules/textadept/snippets.lua | ||
It is currently not possible to escape `<` and `[` immediately after a `%n` mirror. | |||
2016-04-07 | Only show snippet trigger and text in selection dialog. | ||
2016-04-02 | Code cleanup. | ||
Do not use `ipairs()` and use more consistent variable names among other things. | |||
2016-01-19 | Fixed bug in escaping '([{<' after mirrors; modules/textadept/snippets.lua | ||
2015-12-31 | Updated copyright date. | ||
2015-12-29 | Fixed bug in restoring state after cancel; modules/textadept/snippets.lua | ||
2015-12-23 | Attempted fix for edge-case state inconsistency in snippets. | ||
2015-11-12 | Fixed '%' escape sequences in snippets; modules/textadept/snippets.lua | ||
2015-10-28 | Ensure placeholders are eventually cleared; modules/textadept/snippets.lua | ||
2015-10-27 | Fixed simple placeholders in default text; modules/textadept/snippets.lua | ||
2015-10-22 | Do not call snippet functions by mistake; modules/textadept/snippets.lua | ||
2015-10-22 | Snippets can now be functions that return text; modules/textadept/snippets.lua | ||
Also fixed a small bug and documentation. | |||
2015-10-20 | Tabbing through a choice should autocomplete it; modules/textadept/snippets.lua | ||
2015-10-20 | Added snippet choice placeholders; modules/textadept/snippets.lua | ||
2015-10-12 | Do not interpret `%n</...>` as transforms; modules/textadept/snippets.lua | ||
They are often seen in XML snippets and escaping would be tedious. | |||
2015-10-07 | Fixed potential bug in UPDATE_UI handler; modules/textadept/snippets.lua | ||
It's possible for the `updated` parameter to be `nil`; handle it. | |||
2015-10-07 | Fixed '%' escape sequences in snippets; modules/textadept/snippets.lua | ||