B2022-083: Support Conditional RO Values
This commit is contained in:
@@ -715,13 +715,16 @@ namespace Volian.Controls.Library
|
||||
get { return _MyLinkText; }
|
||||
set
|
||||
{
|
||||
//if (value != _MyLinkText)
|
||||
//{
|
||||
// updates to the info panel were not always occurring when the previous two
|
||||
// lines were active
|
||||
if (value != _MyLinkText)
|
||||
{
|
||||
//updates to the info panel were not always occurring when the previous two lines were active
|
||||
_MyLinkText = value;
|
||||
OnLinkChanged(this, new StepPanelLinkEventArgs(_MyLinkText));
|
||||
//}
|
||||
}
|
||||
else
|
||||
{
|
||||
_MyLinkText = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
@@ -1768,11 +1771,20 @@ namespace Volian.Controls.Library
|
||||
DebugPrint("RS------ SelectionChange > {0}", FindRangeStatus());
|
||||
if (SelectionLength > 0 && IsSelectionLinked(SelectionStart, SelectionLength))
|
||||
{
|
||||
if (SelectedText.IndexOf(@"[END>") > 0) MyLinkText = SelectedText.Substring(0, SelectedText.IndexOf(@"[END>"));
|
||||
else MyLinkText = SelectedText;
|
||||
if (SelectedText.IndexOf(@"[END>") > 0)
|
||||
{
|
||||
MyLinkText = SelectedText.Substring(0, SelectedText.IndexOf(@"[END>"));
|
||||
}
|
||||
else
|
||||
{
|
||||
MyLinkText = SelectedText;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
MyLinkText = null;
|
||||
}
|
||||
|
||||
OnRTBSelectionChanged(this, new EventArgs());
|
||||
_LastWasLeftArrow = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user