aboutsummaryrefslogtreecommitdiff
path: root/modules/ansi_c/init.lua
AgeCommit message (Collapse)Author
2020-10-20Code cleanup.mitchell
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-29Updated copyright information.mitchell
2020-03-30Fixed off-by-one issues with `buffer:get_cur_line()`.mitchell
2020-03-26Switched to 1-based indices for buffer positions, lines, and countable entities.mitchell
2020-03-16Language modules should assume `_G.snippets` exists.mitchell
2020-03-16Small code cleanup.mitchell
2020-03-14More code cleanup, refactoring, and reformatting.mitchell
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.
2020-02-18Fixed C autocompletion error with typerefs.mitchell
A typeref would have always been considered a member of itself.
2020-02-17Treat `textadept.editing.api_files` as already containing empty per-lexer lists.mitchell
The language modules should not overwrite them, as user scripts may define them in on init.
2019-12-31Updated copyright year.mitchell
2019-02-16Updated copyright year.mitchell
2018-01-25Updated copyright year.mitchell
2017-07-06Do not attempt to provide autocompletions when there is no context.mitchell
2016-12-31Updated copyright information.mitchell
2016-06-15Lots of small LuaDoc improvements (grammar mainly).mitchell
2016-04-02Code cleanup.mitchell
Do not use `ipairs()` and use more consistent variable names among other things.
2015-12-31Updated copyright date.mitchell
2015-10-22Refactored 'ansi_c' and 'lua' modules' snippets.mitchell
Also removed command for auto-'end' insertion of Lua control structures since snippets are now favored.
2015-10-22Added tags for the Lua C API to the ansi_c module.mitchell
2015-08-19Handle 'typeref' in ctags; modules/ansi_c/init.luamitchell
2015-03-16Code cleanup based on the output of luacheck, a Lua linter.mitchell
2015-03-10Removed `keys.LANGUAGE_MODULE_PREFIX` key binding.mitchell
2014-12-31Updated copyright year.mitchell
2014-12-24Fixed C module's ctag autocompletion and utilize project or directory tags.mitchell
Includes the current project's top-level tags file or the current directory's tags file automatically. That file does not need to be added to `_M.ansi_c.tags`.
2014-11-12Code and documentation cleanup.mitchell
2014-10-29Fixed bug in ANSI C autocompletion; modules/ansi_c/init.luamitchell
2014-06-30Condensed manual and API documentation into single files.mitchell
2014-05-28Utilize list separator characters instead of hard-coded characters.mitchell
2014-05-25ANSI C and Lua language module tweaks.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-01-12Updated copyright information.mitchell
2013-11-07New ANSI C lexer.mitchell
C/C++ lexer was separated into ANSI C and C++ lexers. Also took the opportunity to use shorter macros in compile/run commands.