This commit is contained in:
2010-09-24 12:29:58 +00:00
parent 6604321362
commit ddacbd431f
5 changed files with 45 additions and 24 deletions

View File

@@ -12,6 +12,7 @@ using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using Volian.Base.Library;
namespace DataLoader
{
@@ -177,10 +178,13 @@ namespace DataLoader
// Convert dash to a non-breaking dash. This is a unicode character.
// This character will be used in veproms rather than a dash.
//if the dash is preceeded byte a token remove the space following the token
#if DEBUG
if (s2.Contains(@"\super "))
Console.WriteLine("RTF Super token");
#endif
//#if DEBUG
if (VlnSettings.DebugMode)
{
if (s2.Contains(@"\super "))
Console.WriteLine("RTF Super token");
}
//#endif
s2 = Regex.Replace(s2, @"(\\[^ \\?]*) \-", @"$1\u8209?");
s2 = s2.Replace("-", @"\u8209?");
//Remove spaces between comment end nad Next token