From 37c05200f2a9d35477758a12ccbf69e29ad0d17e Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Mon, 22 Oct 2018 14:44:46 -0400 Subject: Removed `textadept.editing.paste()` (pasted text is reindented). It can be implemented as a separate user module instead. --- modules/textadept/menu.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/textadept/menu.lua') diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua index f82d36f6..759452aa 100644 --- a/modules/textadept/menu.lua +++ b/modules/textadept/menu.lua @@ -18,8 +18,8 @@ local SEPARATOR = {''} -- The following buffer functions need to be constantized in order for menu -- items to identify the key associated with the functions. local menu_buffer_functions = { - 'undo', 'redo', 'cut', 'copy', 'line_duplicate', 'clear', 'select_all', - 'upper_case', 'lower_case', 'move_selected_lines_up', + 'undo', 'redo', 'cut', 'copy', 'paste', 'line_duplicate', 'clear', + 'select_all', 'upper_case', 'lower_case', 'move_selected_lines_up', 'move_selected_lines_down', 'zoom_in', 'zoom_out', 'colourise' } for i = 1, #menu_buffer_functions do @@ -81,7 +81,7 @@ local default_menubar = { SEPARATOR, {_L['Cu_t'], buffer.cut}, {_L['_Copy'], buffer.copy}, - {_L['_Paste'], textadept.editing.paste}, + {_L['_Paste'], buffer.paste}, {_L['Duplicate _Line'], buffer.line_duplicate}, {_L['_Delete'], buffer.clear}, {_L['D_elete Word'], function() -- cgit v1.2.3