From 466b4bf5e4921ba4be78858f6cfbed5d83268907 Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Wed, 16 Jan 2019 14:34:27 -0500 Subject: [PATCH] Add keyboard shortcut Ctrl-Shift-C for Copy Raw --- indra/llui/lltexteditor.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/indra/llui/lltexteditor.cpp b/indra/llui/lltexteditor.cpp index 1796265ac..03b04618c 100644 --- a/indra/llui/lltexteditor.cpp +++ b/indra/llui/lltexteditor.cpp @@ -2475,6 +2475,17 @@ BOOL LLTextEditor::handleEditKey(const KEY key, const MASK mask) } handled = TRUE; } + else if ((mask & (MASK_CONTROL|MASK_SHIFT)) == (MASK_CONTROL|MASK_SHIFT)) + { + if (key == 'C') + { + if (canCopy()) + copy(true); + else + reportBadKeystroke(); + handled = TRUE; + } + } else if( MASK_CONTROL & mask ) {