diff options
author | 2009-07-12 12:59:49 -0400 | |
---|---|---|
committer | 2009-07-12 12:59:49 -0400 | |
commit | 16782a2ab5e158f418581b74452415cd561a5046 (patch) | |
tree | ff571846e5db078990f57825313abc1747fa82e7 /core/ext/menu.lua | |
parent | 070f12d6eef343179335d12686c24f8055c2514d (diff) | |
download | textadept-16782a2ab5e158f418581b74452415cd561a5046.tar.gz textadept-16782a2ab5e158f418581b74452415cd561a5046.zip |
Moved session support from core/file_io.lua to a Textadept module.
Diffstat (limited to 'core/ext/menu.lua')
-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 654f3ba5..c78b36ed 100644 --- a/core/ext/menu.lua +++ b/core/ext/menu.lua @@ -368,7 +368,7 @@ local actions = { ['no-newline'] = true }) 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 }, @@ -382,7 +382,7 @@ local actions = { ['no-newline'] = true }) 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 }, |