Patch [#30654] Wiki Quick Hack: Text editor move lines up/down
Submitted by: Justin Dailey (dail) Patch allows the current line (or selected lines) to be moved up and down with Ctrl+Shift+Up and Ctrl+Shift+Down. Has undo/redo support and operators in python menu.
This commit is contained in:
@@ -277,6 +277,11 @@ class TEXT_MT_edit(Menu):
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.operator("text.move_lines_up")
|
||||
layout.operator("text.move_lines_down")
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.menu("TEXT_MT_edit_select")
|
||||
layout.menu("TEXT_MT_edit_markers")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user