This commit is contained in:
Kathy Ruffing 2011-04-19 14:10:36 +00:00
parent 6fe40ea9e3
commit cedea519ca
2 changed files with 3 additions and 2 deletions

View File

@ -1676,10 +1676,11 @@ namespace Volian.Controls.Library
case Keys.C: //ctrl-C
// handle the clipboard copy and cut when a Transition or RO is selected
// For now, we are coping/cutting just the displayed text to the clipboard (like 16-bit VE-PROMS)
Clipboard.SetText(GetSelectedDisplayableText());
string ts = GetSelectedDisplayableText();
if (ts!=null&&ts!="") Clipboard.SetText(GetSelectedDisplayableText());
e.Handled = true;
e.SuppressKeyPress = true;
if (e.KeyCode == Keys.X) // cut to clipboard - delete the selected text
if (ts!=null&&ts!=""&&e.KeyCode == Keys.X) // cut to clipboard - delete the selected text
HandleDeleteKeyWithSelectedText(e, null);
break;
case Keys.V: