aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2008-07-05 17:00:21 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2008-07-05 17:00:21 -0400
commit3c46c1a36eb4506c848b96c4052ddfc1843e423b (patch)
tree742b77f81b959b59fac75c7bde9e58168c56e738
parent18aed812cbb23725d6a7bcac3e0f9f5fd89428c3 (diff)
downloadtextadept-3c46c1a36eb4506c848b96c4052ddfc1843e423b.tar.gz
textadept-3c46c1a36eb4506c848b96c4052ddfc1843e423b.zip
Fixed mnemonics, added more PM browsers; core/ext/menu.lua
-rw-r--r--core/ext/menu.lua34
1 files changed, 19 insertions, 15 deletions
diff --git a/core/ext/menu.lua b/core/ext/menu.lua
index dee1f480..e3ed06a9 100644
--- a/core/ext/menu.lua
+++ b/core/ext/menu.lua
@@ -16,7 +16,7 @@ t.menubar = {
'gtk-save',
'gtk-save-as',
'gtk-close',
- 'Close _All',
+ 'Close A_ll',
'separator',
'_Load Session...',
'Sa_ve Session...',
@@ -45,7 +45,7 @@ t.menubar = {
'Convert _Indentation',
{ title = '_Kill Ring',
'_Cut to line end',
- 'Co_py to line end',
+ 'C_opy to line end',
'_Paste from ring',
'Paste _next from ring',
'Paste pre_v from ring',
@@ -57,7 +57,7 @@ t.menubar = {
},
{ title = '_Enclose in...',
'_HTML Tags',
- 'HTML _Single Tag',
+ 'HTML Single _Tag',
'_Double Quotes',
'_Single Quotes',
'_Parentheses',
@@ -67,19 +67,19 @@ t.menubar = {
},
'_Grow',
},
- { title = 'Sele_ct in...',
- '_Structure',
+ { title = 'Select i_n...',
+ 'S_tructure',
'_HTML Tag',
'_Double Quote',
'_Single Quote',
- 'Parenthesis',
- 'Bracket',
- 'Brace',
- 'Word',
- 'Line',
- 'Paragraph',
- 'Indented Block',
- 'Scope',
+ '_Parenthesis',
+ '_Bracket',
+ 'B_race',
+ '_Word',
+ '_Line',
+ 'Para_graph',
+ '_Indented Block',
+ 'S_cope',
},
},
gtkmenu {
@@ -139,9 +139,11 @@ t.menubar = {
title = '_Project Manager',
'_Toggle PM Visible',
'_Focus PM',
- 'Show PM _Buffers',
'Show PM _Ctags',
+ 'Show PM _Buffers',
+ 'Show PM _Files',
'Show PM _Macros',
+ 'Show PM Mo_dules',
},
}
@@ -262,9 +264,11 @@ local actions = {
-- Project Manager
['Toggle PM Visible'] = { t.pm.toggle_visible },
['Focus PM'] = { t.pm.focus },
- ['Show PM Buffers'] = { pm_activate, 'buffers' },
['Show PM Ctags'] = { pm_activate, 'ctags' },
+ ['Show PM Buffers'] = { pm_activate, 'buffers' },
+ ['Show PM Files'] = { pm_activate, '/' },
['Show PM Macros'] = { pm_activate, 'macros' },
+ ['Show PM Modules'] = { pm_activate, 'modules' },
}
-- Most of this handling code comes from keys.lua.