Save Item only once when text is updated
Adjust AER to reflect changes in the RNO column Added AnnotationColor property Set Active or Inactive BackColor for StepRTB
This commit is contained in:
@@ -2049,12 +2049,30 @@ namespace Volian.Controls.Library
|
||||
return MyItemInfo.MyContent.ToString();
|
||||
}
|
||||
}
|
||||
private StepItem AERStepItem
|
||||
{
|
||||
get
|
||||
{
|
||||
if (MyParentStepItem != null)
|
||||
{
|
||||
if (MyParentStepItem.RNOLevel < RNOLevel)
|
||||
return MyParentStepItem;
|
||||
else
|
||||
return MyParentStepItem.AERStepItem;
|
||||
}
|
||||
else
|
||||
{
|
||||
return MyPreviousStepItem.AERStepItem;
|
||||
}
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Adjust the Location of all items below the current item.
|
||||
/// </summary>
|
||||
internal void AdjustLocation()
|
||||
{
|
||||
if (RNORight) MoveRNO(); // This is needed when an AER is Deleted that has an RNO.
|
||||
if (RNOLevel>0) AERStepItem.AdjustLocation();
|
||||
StepItem nextStepItem = NextDownStepItem;
|
||||
//if (MyID == 2138)
|
||||
// Console.WriteLine("2138");
|
||||
|
Reference in New Issue
Block a user