Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | ||
2015-09-18 | Refactored snippets to use indicators instead of ugly placeholder text. | ||
2015-03-16 | Code cleanup based on the output of luacheck, a Lua linter. | ||
2015-03-12 | Lua code cleanup. | ||
2015-03-11 | Updated to Lua 5.3, LPeg 0.12.2, and lfs 1.6.3. | ||
LuaJIT uses Lua 5.3's new utf8 library. Restored documentation for Lua 5.1 symbols and added deprecation notes. | |||
2015-03-09 | Updated to Scintilla 3.5.4. | ||
2015-01-29 | Fixed snippets bug when name matches lexer name; modules/textadept/snippets.lua | ||
Ensure the result of snippets[name] is not a table. | |||
2014-12-31 | Updated copyright year. | ||
2014-09-16 | Updated some LuaDoc. | ||
2014-06-30 | Condensed manual and API documentation into single files. | ||
2014-06-12 | Lua code cleanup. | ||