remove debug print when loading rtf
This commit is contained in:
parent
e725a88bb1
commit
11029d87dd
@ -117,15 +117,11 @@ namespace EduNetworkBuilder
|
|||||||
int posincompare = 0;
|
int posincompare = 0;
|
||||||
bool Foundit = false;
|
bool Foundit = false;
|
||||||
bool FoundPartMatch = false;
|
bool FoundPartMatch = false;
|
||||||
int posinfile = 0;
|
|
||||||
using (var ms = new MemoryStream())
|
using (var ms = new MemoryStream())
|
||||||
{
|
{
|
||||||
var sw = new StreamWriter(ms);
|
var sw = new StreamWriter(ms);
|
||||||
foreach (char c in What)
|
foreach (char c in What)
|
||||||
{
|
{
|
||||||
posinfile++;
|
|
||||||
if (posinfile % 10000 == 0)
|
|
||||||
Console.WriteLine(" Place " + posinfile);
|
|
||||||
if (Foundit)
|
if (Foundit)
|
||||||
{
|
{
|
||||||
if (c == '{') count++;
|
if (c == '{') count++;
|
||||||
@ -184,7 +180,6 @@ namespace EduNetworkBuilder
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Console.WriteLine(" Place " + posinfile);
|
|
||||||
sw.Flush();
|
sw.Flush();
|
||||||
ms.Position = 0;
|
ms.Position = 0;
|
||||||
var sr = new StreamReader(ms);
|
var sr = new StreamReader(ms);
|
||||||
|
Loading…
Reference in New Issue
Block a user