Contents

_M.textadept.session

Session support for the textadept module.


Fields


DEFAULT_SESSION (string)

The path to the default session file.


MAX_RECENT_FILES (number)

The maximum number of files from the recent files list to save to the session. The default value is 10.


SAVE_ON_QUIT (bool)

Save the session when quitting. The default value is true and can be disabled by passing the command line switch -n or --nosession to Textadept.


Functions


load (filename)

Loads a Textadept session file. Textadept restores split views, opened buffers, cursor information, and project manager details.

Parameters:

Usage:

Return:

See also:


prompt_load ()

Prompts the user for a Textadept session to load.


prompt_save ()

Prompts the user to save the current Textadept session to a file.


save (filename)

Saves a Textadept session to a file. Saves split views, opened buffers, cursor information, and project manager details.

Parameters:

Usage:

See also: