Added logic to check previous and next note/caution to see if there should be a tab to the left.
This commit is contained in:
parent
a4f0a04c5d
commit
42e05cc3cd
@ -3372,11 +3372,17 @@ namespace VEPROMS.CSLA.Library
|
|||||||
else if (this.NextItem == null)
|
else if (this.NextItem == null)
|
||||||
tbformat = "";
|
tbformat = "";
|
||||||
}
|
}
|
||||||
if (!this.FormatStepData.SeparateBox &&
|
if (!this.FormatStepData.SeparateBox)
|
||||||
(tbformat == nextTbFormat || tbformat == prevTbFormat))
|
|
||||||
{
|
{
|
||||||
tbformat = ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.IdentB;
|
if (tbformat == nextTbFormat || tbformat == prevTbFormat)
|
||||||
TabToIdentBAdjustFont();
|
{
|
||||||
|
tbformat = ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.IdentB;
|
||||||
|
TabToIdentBAdjustFont();
|
||||||
|
}
|
||||||
|
else if ((nextTbFormat == null || tbformat != nextTbFormat) && (prevTbFormat == null || tbformat != prevTbFormat))
|
||||||
|
{
|
||||||
|
tbformat = "";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user