aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/snippets.lua
AgeCommit message (Collapse)Author
2019-02-16Updated copyright year.mitchell
2018-11-12Handle potential mismatch between snippet in buffer and snippet in memory.mitchell
Snippet prev/next coupled with subsequent edits may cause the buffer to contain an unexpected snippet placeholder. Handle it gracefully.
2018-07-28Removed optional '*' prefix in I/O reads.mitchell
Lua 5.3 made them optional and LuaJIT support has been dropped.
2018-04-25Removed LuaJIT version of Textadept.mitchell
Also updated to Lua 5.3 syntax where held back by LuaJIT's 5.1/5.2 syntax.
2018-01-25Updated copyright year.mitchell
2017-05-26Changed "Cancel Snippet" keybinding to `Esc`.mitchell
2017-05-26Fixed bug that deleted characters outside of mangled snippets.mitchell
2017-04-18Fixed some instances of snippet insertion with selected text.mitchell
Ensure snippet start position is as far back as possible.
2016-12-31Updated copyright information.mitchell
2016-06-27Show file-based snippets in the selection dialog; modules/textadept/snippets.luamitchell
2016-06-27Added `textadept.snippets._paths` for file-based snippets.mitchell
Thanks to Michael Richter for the idea.
2016-06-15Lots of small LuaDoc improvements (grammar mainly).mitchell
2016-04-16Small code cleanup.mitchell
2016-04-11Fixed regression for `%<...>` and `%[...]`; modules/textadept/snippets.luamitchell
It is currently not possible to escape `<` and `[` immediately after a `%n` mirror.
2016-04-07Only show snippet trigger and text in selection dialog.mitchell
2016-04-02Code cleanup.mitchell
Do not use `ipairs()` and use more consistent variable names among other things.
2016-01-19Fixed bug in escaping '([{<' after mirrors; modules/textadept/snippets.luamitchell
2015-12-31Updated copyright date.mitchell
2015-12-29Fixed bug in restoring state after cancel; modules/textadept/snippets.luamitchell
2015-12-23Attempted fix for edge-case state inconsistency in snippets.mitchell
2015-11-12Fixed '%' escape sequences in snippets; modules/textadept/snippets.luamitchell
2015-10-28Ensure placeholders are eventually cleared; modules/textadept/snippets.luamitchell
2015-10-27Fixed simple placeholders in default text; modules/textadept/snippets.luamitchell
2015-10-22Do not call snippet functions by mistake; modules/textadept/snippets.luamitchell
2015-10-22Snippets can now be functions that return text; modules/textadept/snippets.luamitchell
Also fixed a small bug and documentation.
2015-10-20Tabbing through a choice should autocomplete it; modules/textadept/snippets.luamitchell
2015-10-20Added snippet choice placeholders; modules/textadept/snippets.luamitchell
2015-10-12Do not interpret `%n</...>` as transforms; modules/textadept/snippets.luamitchell
They are often seen in XML snippets and escaping would be tedious.
2015-10-07Fixed potential bug in UPDATE_UI handler; modules/textadept/snippets.luamitchell
It's possible for the `updated` parameter to be `nil`; handle it.
2015-10-07Fixed '%' escape sequences in snippets; modules/textadept/snippets.luamitchell
2015-09-18Refactored snippets to use indicators instead of ugly placeholder text.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-03-09Updated to Scintilla 3.5.4.mitchell
2015-01-29Fixed snippets bug when name matches lexer name; modules/textadept/snippets.luamitchell
Ensure the result of snippets[name] is not a table.
2014-12-31Updated copyright year.mitchell
2014-09-16Updated some LuaDoc.mitchell
2014-06-30Condensed manual and API documentation into single files.mitchell
2014-06-12Lua code cleanup.mitchell
2014-01-12Updated copyright information.mitchell
2013-12-12More LuaDoc updates.mitchell
2013-11-10Updated LuaDoc.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 constants in `_SCINTILLA.constants`.mitchell
Also removed more unused constants.
2013-09-06Updated LuaDoc.mitchell
2013-08-31Allow user scripts to handle `BUFFER_NEW` and `VIEW_NEW` events on startup.mitchell
A side effect is more efficient event emission during startup.
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