diff options
Diffstat (limited to 'modules/textadept')
-rw-r--r-- | modules/textadept/menu.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua index cb27174f..19d0687d 100644 --- a/modules/textadept/menu.lua +++ b/modules/textadept/menu.lua @@ -165,6 +165,10 @@ local menubar = { {_L['UTF-1_6 Encoding'], {utils.set_encoding, 'UTF-16LE'}}, }, SEPARATOR, + {_L['Toggle View _EOL'], {utils.toggle_property, 'view_eol'}}, + {_L['Toggle _Wrap Mode'], {utils.toggle_property, 'wrap_mode'}}, + {_L['Toggle View White_space'], {utils.toggle_property, 'view_ws'}}, + SEPARATOR, {_L['Select _Lexer...'], textadept.file_types.select_lexer}, {_L['_Refresh Syntax Highlighting'], {buffer.colourise, buffer, 0, -1}}, }, @@ -181,11 +185,8 @@ local menubar = { SEPARATOR, {_L['Toggle Current _Fold'], utils.toggle_current_fold}, SEPARATOR, - {_L['Toggle View _EOL'], {utils.toggle_property, 'view_eol'}}, - {_L['Toggle _Wrap Mode'], {utils.toggle_property, 'wrap_mode'}}, {_L['Toggle Show In_dent Guides'], {utils.toggle_property, 'indentation_guides'}}, - {_L['Toggle View White_space'], {utils.toggle_property, 'view_ws'}}, {_L['Toggle _Virtual Space'], {utils.toggle_property, 'virtual_space_options', buffer.VS_USERACCESSIBLE}}, |