This commit is contained in:
@@ -173,6 +173,12 @@ namespace Volian.Controls.Library
|
||||
if (MyStepItem == null || MyStepItem.MyStepPanel == null) return;
|
||||
BackColor = _MyItemInfo.ItemAnnotationCount == 0 ? MyStepItem.MyStepPanel.InactiveColor : Color.FromArgb(255, 255, 128);
|
||||
}
|
||||
public void HighlightBackColor()
|
||||
{
|
||||
// Don't try to highlight if this rtb is used on property pages.
|
||||
if (MyStepItem == null || MyStepItem.MyStepPanel == null) return;
|
||||
BackColor = Color.Gray;
|
||||
}
|
||||
private string _origRTF;
|
||||
public void RTBFillIn(bool edit)
|
||||
{
|
||||
@@ -1590,6 +1596,18 @@ namespace Volian.Controls.Library
|
||||
// comment on _OverWrite
|
||||
e.Handled = true;
|
||||
break;
|
||||
case Keys.F5:
|
||||
if (e.Shift)
|
||||
{
|
||||
e.Handled = true;
|
||||
this.MyStepItem.MyStepPanel.MyStepTabPanel.MyStepTabRibbon.ShortCutContextMenu("StepPaste");
|
||||
}
|
||||
else if (!e.Control && !e.Alt)
|
||||
{
|
||||
e.Handled = true;
|
||||
this.MyStepItem.MyStepPanel.MyStepTabPanel.MyStepTabRibbon.DoCopyStep();
|
||||
}
|
||||
break;
|
||||
case Keys.F6:
|
||||
e.Handled = true;
|
||||
SendKeys.Send("%H{ESC}");
|
||||
|
Reference in New Issue
Block a user