aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-10-18 12:40:44 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2013-10-18 12:40:44 -0400
commit84c489b43c0d9796049f77cfd89109196f6d0b3a (patch)
tree3d9093d9e0e2acb69e5c1bb4835c44fda63f0211 /modules/textadept
parent20c4fb3baaac9d176e029e3680cc0c8e8101e44c (diff)
downloadtextadept-84c489b43c0d9796049f77cfd89109196f6d0b3a.tar.gz
textadept-84c489b43c0d9796049f77cfd89109196f6d0b3a.zip
Added "Save All" to the menu.
Diffstat (limited to 'modules/textadept')
-rw-r--r--modules/textadept/keys.lua1
-rw-r--r--modules/textadept/menu.lua1
2 files changed, 2 insertions, 0 deletions
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua
index 6206d456..9a94ab53 100644
--- a/modules/textadept/keys.lua
+++ b/modules/textadept/keys.lua
@@ -366,6 +366,7 @@ keys[not OSX and not CURSES and 'cao' or 'cmo'] = io.open_recent_file
keys[not OSX and (not CURSES and 'cO' or 'mo') or 'mO'] = io.reload_file
keys[not OSX and 'cs' or 'ms'] = io.save_file
keys[not OSX and (not CURSES and 'cS' or 'cms') or 'mS'] = io.save_file_as
+-- TODO: io.save_all_files
keys[not OSX and 'cw' or 'mw'] = io.close_buffer
keys[not OSX and (not CURSES and 'cW' or 'cmw') or 'mW'] = io.close_all_buffers
-- TODO: textadept.sessions.load
diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua
index 2833311a..e064e4e0 100644
--- a/modules/textadept/menu.lua
+++ b/modules/textadept/menu.lua
@@ -24,6 +24,7 @@ local menubar = {
{_L['Re_load'], io.reload_file},
{_L['_Save'], io.save_file},
{_L['Save _As'], io.save_file_as},
+ {_L['Save All'], io.save_all_files},
SEPARATOR,
{_L['_Close'], io.close_buffer},
{_L['Close All'], io.close_all_buffers},