C2017-026: Add a visual indicator (*) in the PROMS editor to indicate a Continuous Action Step
This commit is contained in:
@@ -3987,8 +3987,16 @@ namespace VEPROMS.CSLA.Library
|
||||
int macroindx = tbformat.IndexOf("{!C");
|
||||
if (macroindx > -1)
|
||||
{
|
||||
cltext = cltext == null ? tbformat.Remove(macroindx, 5) : cltext.Remove(macroindx, 5);
|
||||
cltext = cltext + " ";
|
||||
// C2017-026: have visual indicator for CAS Step
|
||||
if (FormatStepData.TabData.IdentEdit.Contains("*. "))
|
||||
{
|
||||
cltext = cltext == null ? tbformat.Substring(0, macroindx) + "*. " + tbformat.Substring(macroindx + 8) : cltext.Remove(macroindx, 5);
|
||||
}
|
||||
else
|
||||
{
|
||||
cltext = cltext == null ? tbformat.Remove(macroindx, 5) : cltext.Remove(macroindx, 5);
|
||||
cltext = cltext + " ";
|
||||
}
|
||||
}
|
||||
macroindx = tbformat.IndexOf("{!diamond1}");
|
||||
if (macroindx > -1) //i found it
|
||||
|
Reference in New Issue
Block a user