Changes to Comments

This commit is contained in:
Rich 2011-03-11 15:46:51 +00:00
parent b43ea73257
commit ddb2ea162f

View File

@ -184,17 +184,17 @@ namespace Volian.Controls.Library
text = myTable.Lines.ToString();
}
// as a precaution, convert any \~ to \u160?. This is for Hard spaces. see the commentary in the
// save portion of this code for an explanation.
// if we're working with a grid it won't go thru here.
if (!text.StartsWith(@"{\rtf"))
{
// as a precaution, convert any \~ to \u160?. This is for Hard spaces. see the commentary in the
// save portion of this code for an explanation.
text = text.Replace(@"\~", @"\u160?");
text = text.Replace("\r\n", @"\par ");
//if (text.IndexOf(@"\line") > -1)
// MessageBox.Show("Found rtf line");
text = text.Replace(@"\line", @"\par");
// Now put symbol (for fixed fonts) or unicode font (proportional) around symbols
// These fonts are VESymbFix & Arial Unicode MS respectively, and the font table
// is actually defined in the StepRTB code.