Removed Debug output

This commit is contained in:
Rich 2014-11-10 13:06:32 +00:00
parent d90e472f23
commit a711691ff6
4 changed files with 6 additions and 6 deletions

View File

@ -399,8 +399,8 @@ namespace Volian.Controls.Library
} }
private Match FirstMatch(string text, string replaceWord2) private Match FirstMatch(string text, string replaceWord2)
{ {
if(text.Contains(replaceWord2.Replace("(","").Replace(")","").Replace(@"\\",@"\"))) //if(text.Contains(replaceWord2.Replace("(","").Replace(")","").Replace(@"\\",@"\")))
Console.WriteLine("here"); // Console.WriteLine("here");
MatchCollection matches = Regex.Matches(text, replaceWord2, RegexOptions.IgnoreCase); MatchCollection matches = Regex.Matches(text, replaceWord2, RegexOptions.IgnoreCase);
if (matches.Count > 0) if (matches.Count > 0)
{ {

View File

@ -1311,7 +1311,7 @@ namespace Volian.Controls.Library
} }
private void tv_RemoveChgIds() 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<int, int> MyCheckedOutDocVersions; private Dictionary<int, int> MyCheckedOutDocVersions;
private void CheckOutDocVersion(VETreeNode tn) private void CheckOutDocVersion(VETreeNode tn)

View File

@ -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)( |$|(?=\\))"); static Regex rgx = new Regex(@"\\(b|ul|up[1-9]|dn0|up0|dn[1-9]|b0|ulnone)( |$|(?=\\))");
private void WriteRTF(string text) private void WriteRTF(string text)
{ {
if (text.Contains("\\")) //if (text.Contains("\\"))
Console.WriteLine("here"); // Console.WriteLine("here");
Match m = rgx.Match(text); Match m = rgx.Match(text);
while (m.Success) while (m.Success)
{ {

View File

@ -117,7 +117,7 @@ namespace Volian.Print.Library
if (PdfDebug) if (PdfDebug)
{ {
int next = NextTextAtCounter; 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 ?? ""); string dbt = string.Format("[{0}]{1}", next, debugText ?? "");
DrawPdfDebug(cb, left, top, left + width, myColumnText.YLine, dbt, yDescent); DrawPdfDebug(cb, left, top, left + width, myColumnText.YLine, dbt, yDescent);
} }