diff options
author | 2009-07-12 13:04:21 -0400 | |
---|---|---|
committer | 2009-07-12 13:04:21 -0400 | |
commit | c5aeb53d42c5b8cb15f123c8f61be68485f22914 (patch) | |
tree | 5ad1841a89bcba9a287296e9277f1454af4d7848 /core/ext | |
parent | 5a2757d809ea3bb7a27877b8ac7e071e322f9413 (diff) | |
download | textadept-c5aeb53d42c5b8cb15f123c8f61be68485f22914.tar.gz textadept-c5aeb53d42c5b8cb15f123c8f61be68485f22914.zip |
Moved session support from core/file_io.lua to a Textadept module.
Diffstat (limited to 'core/ext')
-rw-r--r-- | core/ext/menu.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/ext/menu.lua b/core/ext/menu.lua index 6549cbfd..b053cf91 100644 --- a/core/ext/menu.lua +++ b/core/ext/menu.lua @@ -369,7 +369,7 @@ local actions = { (textadept.session_file or ''):match('[^/\\]+$') or '', '--no-newline') if #utf8_filename > 0 then - t.io.load_session(t.iconv(utf8_filename, _CHARSET, 'UTF-8')) + _m.textadept.session.load(t.iconv(utf8_filename, _CHARSET, 'UTF-8')) end end }, @@ -384,7 +384,7 @@ local actions = { (textadept.session_file or ''):match('[^/\\]+$') or '', '--no-newline') if #utf8_filename > 0 then - t.io.save_session(t.iconv(utf8_filename, _CHARSET, 'UTF-8')) + _m.textadept.session.save(t.iconv(utf8_filename, _CHARSET, 'UTF-8')) end end }, |