From de95e65d109b49488bbba7d3a741bb0e81d1123b Mon Sep 17 00:00:00 2001 From: Paulb23 Date: Sun, 20 Aug 2017 13:31:30 +0100 Subject: Delete current line, issue 9643 --- editor/plugins/script_text_editor.cpp | 17 +++++++++++++++++ editor/plugins/script_text_editor.h | 1 + 2 files changed, 18 insertions(+) (limited to 'editor') diff --git a/editor/plugins/script_text_editor.cpp b/editor/plugins/script_text_editor.cpp index 1aa9f04484..1a3092b6e4 100644 --- a/editor/plugins/script_text_editor.cpp +++ b/editor/plugins/script_text_editor.cpp @@ -866,6 +866,21 @@ void ScriptTextEditor::_edit_option(int p_op) { tx->update(); //tx->deselect(); + } break; + case EDIT_DELETE_LINE: { + + TextEdit *tx = code_editor->get_text_edit(); + Ref