From 7af3a62b748ab62596b6815ac97c9cf527513a6c Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 10 Jun 2010 22:54:51 -0400 Subject: Moved textadept.io into Lua's io table. Renamed textadept.io.open to textadept.io.open_file to prevent conflicts. --- core/ext/menu.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/ext/menu.lua') 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 = -- cgit v1.2.3