F2019-069: Hold Point designator for Barakah (add Step’s DefaultText attribute)
This commit is contained in:
@@ -777,7 +777,11 @@ namespace Volian.Controls.Library
|
||||
if (MyStepRTB.ReadOnly) return;
|
||||
if (!MyStepRTB.ActiveMode) return;
|
||||
if (MyStepRTB.IsExperimenting) return;
|
||||
if (MyStepRTB.MyItemInfo.MyContent.Number != null && !MyStepRTB.IsDirty && MyStepRTB.Text.Contains("(Resolved Transition Text)") == false) return;
|
||||
|
||||
// F2019 - 069: Hold Point designator for Barakah, allow for using Default Text from format
|
||||
if (MyStepRTB.MyItemInfo.MyContent.Number != null && (!MyStepRTB.IsDirty && !MyStepRTB.OrigDisplayText.AddedDefaultTextFromFmt) && MyStepRTB.Text.Contains("(Resolved Transition Text)") == false) return;
|
||||
MyStepRTB.OrigDisplayText.AddedDefaultTextFromFmt = false;
|
||||
|
||||
bool hasChangeBar = MyStepRTB.MyItemInfo.HasChangeBar;
|
||||
bool success = MyStepRTB.OrigDisplayText.Save((RichTextBox)MyStepRTB);
|
||||
if (success)
|
||||
|
Reference in New Issue
Block a user