aboutsummaryrefslogtreecommitdiff
path: root/core/args.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-10-11Updated LuaDoc.mitchell
2020-09-29Updated copyright information.mitchell
2020-08-09When passing a directory as a command line argument, change to it.mitchell
This allows for running `textadept [projectdir]` and having the open dialogs start from there instead of `_HOME` or some other directory.
2020-03-22More code cleanup, reformatting, refactoring, and bug fixing.mitchell
2020-03-10Core code cleanup, reformat, refactoring, and bugfixes.mitchell
`events.FILE_CHANGED` was not emitting a filename. Added tests for key commands, keychains, and key modes.
2020-03-03Move test.lua into test folder.mitchell
2020-03-03Added test suite and API type checking for more helpful error messages.mitchell
2020-02-26Fixed some documentation.mitchell
2020-02-24Alphabetize command line switches when showing help.mitchell
2019-12-31Updated copyright year.mitchell
2019-02-16Updated copyright year.mitchell
2018-02-16Fixed bug in remote-controlled Textadept when no args were initially given.mitchell
2018-01-25Updated copyright year.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.
2016-01-30Added single-instance functionality for Win32 and require GLib 2.28+.mitchell
Thanks to Carl Sturtivant for the Win32 proof-of-concept code.
2016-01-29Code cleanup; core/args.luamitchell
2016-01-29Added '-v' and '--version' command line parameters.mitchell
2015-12-31Updated copyright date.mitchell
2015-03-14Prevent -h, --help switches from exiting single instance; core/args.luamitchell
2015-03-12Lua code cleanup.mitchell
2015-01-22Made `args.process()` private.mitchell
2014-12-31Updated copyright year.mitchell
2014-06-30Condensed manual and API documentation into single files.mitchell
2014-04-10Fixed bug introduced by r1710 relating to absolute paths.mitchell
2014-04-06Added `lfs.abspath()` in order to always use absolute paths.mitchell
Thanks to Pedro Andres Aranda Gutierrez.
2014-01-12Updated copyright information.mitchell
2013-12-19Some programs pass lower-case drive letters to external editors; core/args.luamitchell
2013-09-10Do not cache `_G.arg`; core/args.luamitchell
This also helps fix a bug caused in part by r1557.
2013-09-09Use `events.ARG_NONE` constant instead of string.mitchell
2013-05-15`_M.textadept = require('textadept')` in user init is superfluous.mitchell
The module was being loaded by default anyway. Besides, the user's modules/textadept/init.lua controls which parts are loaded.
2013-04-29More code cleanup.mitchell
"local buffer = buffer" and similar optimizations are not needed since lexing the buffer is much more expensive and reaction time is limited by how fast the keyboard can submit key presses.
2013-04-25Code and documentation cleanup.mitchell
2013-04-05Initial support for Windows terminal via pdcurses.mitchell
2013-04-03Textadept should support multiple curses platforms; remove ncurses references.mitchell
Requires Scintilla r4436 and Scinterm r45.
2013-01-20Updated copyright date.mitchell
2012-12-01Updated parameter LuaDoc.mitchell
2012-11-19Rewrote LuaDoc.mitchell
2012-11-19Changed Lua code style for tables.mitchell
2012-09-12Documentation overhaul.mitchell
Rewrote most of the manual and Lua API to complement each other. Key bindings reference moved from Appendix to modules/textadept/keys.lua LuaDoc.
2012-08-01Disable showing help in ncurses; core/args.luamitchell
Lua 'print' statements do not work properly once ncurses has been initialized and there is no way to print to a buffer without overwriting an existing session on exit.
2012-04-10Support for single-instance on Linux and BSD with GLib 2.28.mitchell
Also added documentation on running with LuaJIT and require GTK+ 2.18 now.
2012-03-16Moved "Markdown:" comments into module LuaDoc comments.mitchell
2012-03-13Use absolute paths for command line files; core/args.luamitchell
2012-03-07Updated contact email address.mitchell
2012-03-07Documentation overhaul with Discount (Markdown implementation).mitchell
The standard LuaDoc template is no longer used. Instead, the new `scripts/markdowndoc.lua` has the template for LuaDoc and `scripts/update_doc` has the template for the Manual. Also added README, CHANGELOG, and THANKS files.
2012-01-06Updated copyright information.mitchell
2011-12-13Remove 'package.seeall' from LuaDoc comments.mitchell