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:
2012-05-04 14:27:13 +00:00
parent e62f13ac31
commit 2bc29ff426
6 changed files with 144 additions and 9 deletions

View File

@@ -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")