aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/menu.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2011-07-14 17:14:39 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2011-07-14 17:14:39 -0400
commit7914dd7447d1b05d5c377c1b010bc4cae2d47844 (patch)
tree2917fc16b6427a99f5e89e6405c8a5c7026d42c4 /modules/textadept/menu.lua
parent93e209737bf988a55972def61c4734590527d5f9 (diff)
downloadtextadept-7914dd7447d1b05d5c377c1b010bc4cae2d47844.tar.gz
textadept-7914dd7447d1b05d5c377c1b010bc4cae2d47844.zip
Added Upper and Lower menu commands for selection case.
Diffstat (limited to 'modules/textadept/menu.lua')
-rw-r--r--modules/textadept/menu.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua
index a1c0c217..af0cd4a9 100644
--- a/modules/textadept/menu.lua
+++ b/modules/textadept/menu.lua
@@ -159,6 +159,9 @@ menubar = {
menuitem('Join Lines', m_editing.join_lines),
menuitem('Convert Indentation', m_editing.convert_indentation),
{ title = L('Selection'),
+ menuitem('Upper Case Selection', _buffer.upper_case),
+ menuitem('Lower Case Selection', _buffer.lower_case),
+ SEPARATOR,
menuitem('Enclose as XML Tags', function()
m_editing.enclose('<', '>')
local buffer = buffer