From 757ecf047739a61f0cbd6b77b53dc04b348d1f1c Mon Sep 17 00:00:00 2001 From: John Date: Fri, 19 Apr 2013 19:17:39 +0000 Subject: [PATCH] =?UTF-8?q?Backed=20out=20logic=20that=20attempted=20to=20?= =?UTF-8?q?adjust=20the=20Note=20and=20Caution=20tabs.=20Adversely=20affec?= =?UTF-8?q?ted=20Ginna=E2=80=99s=20Note/Caution=20tabs.=20=20Was=20put=20i?= =?UTF-8?q?n=20originally=20for=20NSP=20but=20NPS=E2=80=99s=20Note=20tabs?= =?UTF-8?q?=20look=20better=20without=20this=20logic.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../VEPROMS.CSLA.Library/Extension/ItemExt.cs | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs index 94ef55cf..8a10e8bf 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs @@ -2856,19 +2856,19 @@ namespace VEPROMS.CSLA.Library if (TabToIdentBAdjustFont()) _MyTab.RemovedStyleUnderline = true; } - // Since we append the bullet (IdentB) to the Caution or Note tab (like in 16-bit code) - // we need to append blank characters when there is only one Note or Caution (thus no bullet) - // in order for the Note or Caution tab to consistantly print at the same horizontal location - else if (tbformat != null && !FormatStepData.AlwaysTab && !FormatStepData.MixCautionsAndNotes - && (ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.IdentB != null - && ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.IdentB.Length > 0)) - { - int identBLen = ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.IdentB.Length; - string bbstr = new string(' ', identBLen); - tbformat = tbformat + bbstr; - if (TabToIdentBAdjustFont()) - _MyTab.RemovedStyleUnderline = true; - } + //// Since we append the bullet (IdentB) to the Caution or Note tab (like in 16-bit code) + //// we need to append blank characters when there is only one Note or Caution (thus no bullet) + //// in order for the Note or Caution tab to consistantly print at the same horizontal location + //else if (tbformat != null && !FormatStepData.AlwaysTab && !FormatStepData.MixCautionsAndNotes + // && (ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.IdentB != null + // && ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.IdentB.Length > 0)) + //{ + // int identBLen = ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.IdentB.Length; + // string bbstr = new string(' ', identBLen); + // tbformat = tbformat + bbstr; + // if (TabToIdentBAdjustFont()) + // _MyTab.RemovedStyleUnderline = true; + //} return tbformat; }