From d42425cbc48dbf701aa5120277f9f70ca1b96b5b Mon Sep 17 00:00:00 2001 From: Kathy Date: Tue, 29 Aug 2017 15:14:57 +0000 Subject: [PATCH] =?UTF-8?q?B2017-185:=20Calvert=20Alarms=20=E2=80=93=20For?= =?UTF-8?q?=20print,=20hyphens=20in=20window=20number=20for=20top=20contin?= =?UTF-8?q?ue=20message=20is=20different=20than=20hyphen=20for=20step?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PROMS/Volian.Print.Library/vlnParagraph.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index e588b640..03b57260 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -2635,7 +2635,8 @@ namespace Volian.Print.Library //string HLSTabTextForContMsg = MyHighLevelParagraph.MyItemInfo.MyTab.CleanText + " " + MyHighLevelParagraph.MyItemInfo.MyContent.Text; //int len = (HLSTabTextForContMsg.Length - 10) * 6; string tabText = @"\ul\b " + MyHighLevelParagraph.MyItemInfo.MyTab.CleanText.Trim() + @"\b0\ulnone"; - string stepText = @"\b " + MyHighLevelParagraph.MyItemInfo.MyContent.Text + @"\b0"; + // B2017-185: added the replace of unicode dash to regular dash for the continue message so it matches the step text: + string stepText = @"\b " + MyHighLevelParagraph.MyItemInfo.MyContent.Text.Replace(@"\u8209?", "-") + @"\b0"; //HLSTabTextForContMsg = @"\ul\b " + MyHighLevelParagraph.MyItemInfo.MyTab.CleanText.Trim() + @"\b0\ulnone \b " + MyHighLevelParagraph.MyItemInfo.MyContent.Text + @"\b0"; vlnText vt1 = new vlnText(cb, this, tabText, tabText, MyHighLevelParagraph.MyTab.XOffset, yTopMargin + 0.1F, docstyle.Continue.Top.Font); vt1.Width = MyHighLevelParagraph.MyTab.Width;