From a711691ff6571db4dea9023691b054a84ae80145 Mon Sep 17 00:00:00 2001 From: Rich Date: Mon, 10 Nov 2014 13:06:32 +0000 Subject: [PATCH] Removed Debug output --- PROMS/Volian.Controls.Library/DisplayText.cs | 4 ++-- PROMS/Volian.Controls.Library/vlnTreeView.cs | 2 +- PROMS/Volian.Print.Library/Placekeeper.cs | 4 ++-- PROMS/Volian.Print.Library/Rtf2Pdf.cs | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/PROMS/Volian.Controls.Library/DisplayText.cs b/PROMS/Volian.Controls.Library/DisplayText.cs index 0c56e007..8e66e4bb 100644 --- a/PROMS/Volian.Controls.Library/DisplayText.cs +++ b/PROMS/Volian.Controls.Library/DisplayText.cs @@ -399,8 +399,8 @@ namespace Volian.Controls.Library } private Match FirstMatch(string text, string replaceWord2) { - if(text.Contains(replaceWord2.Replace("(","").Replace(")","").Replace(@"\\",@"\"))) - Console.WriteLine("here"); + //if(text.Contains(replaceWord2.Replace("(","").Replace(")","").Replace(@"\\",@"\"))) + // Console.WriteLine("here"); MatchCollection matches = Regex.Matches(text, replaceWord2, RegexOptions.IgnoreCase); if (matches.Count > 0) { diff --git a/PROMS/Volian.Controls.Library/vlnTreeView.cs b/PROMS/Volian.Controls.Library/vlnTreeView.cs index 730d774a..10e33efc 100644 --- a/PROMS/Volian.Controls.Library/vlnTreeView.cs +++ b/PROMS/Volian.Controls.Library/vlnTreeView.cs @@ -1311,7 +1311,7 @@ namespace Volian.Controls.Library } private void tv_RemoveChgIds() { - Console.WriteLine("HERE"); // add code/query to clear change ids in config. + //Console.WriteLine("HERE"); // add code/query to clear change ids in config. } private Dictionary MyCheckedOutDocVersions; private void CheckOutDocVersion(VETreeNode tn) diff --git a/PROMS/Volian.Print.Library/Placekeeper.cs b/PROMS/Volian.Print.Library/Placekeeper.cs index 68d7e380..ed06f8ef 100644 --- a/PROMS/Volian.Print.Library/Placekeeper.cs +++ b/PROMS/Volian.Print.Library/Placekeeper.cs @@ -310,8 +310,8 @@ namespace Volian.Print.Library static Regex rgx = new Regex(@"\\(b|ul|up[1-9]|dn0|up0|dn[1-9]|b0|ulnone)( |$|(?=\\))"); private void WriteRTF(string text) { - if (text.Contains("\\")) - Console.WriteLine("here"); + //if (text.Contains("\\")) + // Console.WriteLine("here"); Match m = rgx.Match(text); while (m.Success) { diff --git a/PROMS/Volian.Print.Library/Rtf2Pdf.cs b/PROMS/Volian.Print.Library/Rtf2Pdf.cs index e47ce00d..109fa615 100644 --- a/PROMS/Volian.Print.Library/Rtf2Pdf.cs +++ b/PROMS/Volian.Print.Library/Rtf2Pdf.cs @@ -117,7 +117,7 @@ namespace Volian.Print.Library if (PdfDebug) { int next = NextTextAtCounter; - //if (InList(next,2331,2332)) Console.WriteLine("here"); + //if (InList(next,1884,1985,1986,1987,1988,1989)) Console.WriteLine("here"); string dbt = string.Format("[{0}]{1}", next, debugText ?? ""); DrawPdfDebug(cb, left, top, left + width, myColumnText.YLine, dbt, yDescent); }