aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/session.lua
AgeCommit message (Collapse)Author
2021-01-29Updated copyright information.mitchell
2020-12-15Save the current session prior to loading another one.mitchell
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-05Increase the width of dialogs that hold filenames in the terminal version.mitchell
Long filenames are clipped.
2020-09-29Updated copyright information.mitchell
2020-08-09Save the current working directory to session files.mitchell
2020-08-04Updated LuaDoc.mitchell
2020-07-16Ensure buffer selection session data is saved.mitchell
It is possible to have in a non-current view a buffer without saved selection data.
2020-05-25Allow views to be used as buffers and update API.mitchell
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-26Switched to 1-based indices for buffer positions, lines, and countable entities.mitchell
2020-03-13More code cleanup and refactoring.mitchell
2020-03-13Refactored session handling and file format, and added events.mitchell
User scripts can now save and load from session data.
2020-03-03Added test suite and API type checking for more helpful error messages.mitchell
2019-12-31Updated copyright year.mitchell
2019-02-16Updated copyright year.mitchell
2018-10-23Fixed tab labels not updating when loading message buffers from a session.mitchell
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-02-16Save to the loaded session on quit and removed `default_session` option.mitchell
2018-02-16Do not load the default session when only specifying session command line args.mitchell
2018-01-25Updated copyright year.mitchell
2017-06-23Small code cleanup.mitchell
2016-12-31Updated copyright information.mitchell
2016-12-08Prevent duplicate recent files on session load; modules/textadept/session.luamitchell
2016-06-16Changed arguments to `ui.goto_view()` and `view:goto_buffer()`.mitchell
They can accept either objects or relative numbers now. They do not accept absolute indices anymore.
2016-06-15Lots of small LuaDoc improvements (grammar mainly).mitchell
2016-06-15Renamed `textadept.session` fields.mitchell
2016-04-09Fixed bugs in session view restoration; modules/textadept/session.luamitchell
Also, existing files should be closed upon opening a new session.
2016-04-02Code cleanup.mitchell
Do not use `ipairs()` and use more consistent variable names among other things.
2016-03-01Removed extraneous debug statement; modules/textadept/session.luamitchell
2016-02-26Fixed bug in setting view properties when restoring sessions with nested splits.mitchell
2015-12-31Updated copyright date.mitchell
2015-12-30Fixed bug restoring split views in large windows; modules/textadept/session.luamitchell
2015-10-22Only save bookmarks for eligible buffers; modules/textadept/session.luamitchell
2015-10-19Save bookmarks in sessions; modules/textadept/session.luamitchell
2015-03-16Code cleanup based on the output of luacheck, a Lua linter.mitchell
2014-12-31Updated copyright year.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-12Honor window maximized setting in session files; modules/textadept/session.luamitchell
2013-12-12More LuaDoc updates.mitchell
2013-11-10Updated LuaDoc.mitchell
2013-10-18More LuaDoc updates.mitchell
2013-10-09More 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-23Code and documentation cleanup.mitchell
2013-09-15Do not convert filenames to UTF-8; keep them in `_CHARSET`.mitchell
2013-09-09Use `events.ARG_NONE` constant instead of string.mitchell
2013-09-09Moved buffer IO functions into the `io` module.mitchell
Menus and key bindings do not need `events.INITIALIZED`.
2013-09-06Updated LuaDoc.mitchell