diff options
author | Dana Olson <dana@shineuponthee.com> | 2014-12-17 15:57:39 -0500 |
---|---|---|
committer | Dana Olson <dana@shineuponthee.com> | 2014-12-17 15:57:39 -0500 |
commit | 1a6628f5a3d005d500d72e86222f1255a3276b5a (patch) | |
tree | 37251119e31cebe8abec69d5d55cddec9a9f6714 /scene/gui/text_edit.cpp | |
parent | bed3b7f092881223f7b58c26e65d03b052e5313f (diff) |
change shortcut for toggle-comment to Ctrl+K
Diffstat (limited to 'scene/gui/text_edit.cpp')
-rw-r--r-- | scene/gui/text_edit.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index 67d786cf49..71f0d926c3 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -1911,27 +1911,6 @@ void TextEdit::_input_event(const InputEvent& p_input_event) { } break; - case KEY_K:{ - if (!k.mod.command || k.mod.shift || k.mod.alt) { - scancode_handled=false; - break; - } - else { - if (selection.active) { - int ini = selection.from_line; - int end = selection.to_line; - for (int i=ini; i<= end; i++) - { - _insert_text(i,0,"#"); - } - } - else{ - _insert_text(cursor.line,0,"#"); - } - update(); - } - break;} - case KEY_U:{ if (!k.mod.command || k.mod.shift || k.mod.alt) { scancode_handled=false; |