diff options
author | 2010-06-10 22:54:51 -0400 | |
---|---|---|
committer | 2010-06-10 22:54:51 -0400 | |
commit | 7af3a62b748ab62596b6815ac97c9cf527513a6c (patch) | |
tree | 3b9aa55c6fe0b34bd71cbad9aacca2c90c01a07f /core/ext/menu.lua | |
parent | 13dc7390e0ddfe7f2a1b11d5b50265a74448e44f (diff) | |
download | textadept-7af3a62b748ab62596b6815ac97c9cf527513a6c.tar.gz textadept-7af3a62b748ab62596b6815ac97c9cf527513a6c.zip |
Moved textadept.io into Lua's io table.
Renamed textadept.io.open to textadept.io.open_file to prevent conflicts.
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 9c71383e..98a2a8c3 100644 --- a/core/ext/menu.lua +++ b/core/ext/menu.lua @@ -327,12 +327,12 @@ end local actions = { -- File [ID.NEW] = { t.new_buffer }, - [ID.OPEN] = { t.io.open }, + [ID.OPEN] = { io.open_file }, [ID.RELOAD] = { 'reload', b }, [ID.SAVE] = { 'save', b }, [ID.SAVEAS] = { 'save_as', b }, [ID.CLOSE] = { 'close', b }, - [ID.CLOSE_ALL] = { t.io.close_all }, + [ID.CLOSE_ALL] = { io.close_all }, [ID.LOAD_SESSION] = { function() local utf8_filename = |