Properly Save Text from DisplayText
Fixed logic to support single character in a stepRTB (Fixed 127) Corrected code to deal with null AERStepItem Added code to respond to a Right Arrow for steps that don't have RNOs Changed KeyDown (Keys.Down) logic to support a Hard-Return at the end of a StepRTB
This commit is contained in:
@@ -1009,7 +1009,6 @@ namespace Volian.Controls.Library
|
||||
newFocus.AdjustLocation();
|
||||
//newFocus.ShowTops("");
|
||||
}
|
||||
|
||||
public StepItem DeleteItem()
|
||||
{
|
||||
StepItem newFocus = null;
|
||||
@@ -2053,6 +2052,7 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
get
|
||||
{
|
||||
if(RNOLevel == 0)return null;
|
||||
if (MyParentStepItem != null)
|
||||
{
|
||||
if (MyParentStepItem.RNOLevel < RNOLevel)
|
||||
@@ -2060,10 +2060,12 @@ namespace Volian.Controls.Library
|
||||
else
|
||||
return MyParentStepItem.AERStepItem;
|
||||
}
|
||||
else
|
||||
else if (MyPreviousStepItem != null)
|
||||
{
|
||||
return MyPreviousStepItem.AERStepItem;
|
||||
}
|
||||
//Volian.Base.Library.vlnStackTrace.ShowStackLocal("'AERStepItem',{0},{1}", MyID, MyItemInfo.DBSequence);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
@@ -2071,8 +2073,10 @@ namespace Volian.Controls.Library
|
||||
/// </summary>
|
||||
internal void AdjustLocation()
|
||||
{
|
||||
//Console.WriteLine("'AdjustLocation',{0},{1},'{2}'", MyID, MyItemInfo.DBSequence, Volian.Base.Library.vlnStackTrace.CalledFrom4);
|
||||
if (RNORight) MoveRNO(); // This is needed when an AER is Deleted that has an RNO.
|
||||
if (RNOLevel>0) AERStepItem.AdjustLocation();
|
||||
if (RNOLevel > 0 && AERStepItem != null)
|
||||
AERStepItem.AdjustLocation();
|
||||
StepItem nextStepItem = NextDownStepItem;
|
||||
//if (MyID == 2138)
|
||||
// Console.WriteLine("2138");
|
||||
|
Reference in New Issue
Block a user