This commit is contained in:
2010-03-25 11:28:09 +00:00
parent 06f23219cd
commit 56d5c40f8a
9 changed files with 402 additions and 58 deletions

View File

@@ -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}");