Changes to Comments
This commit is contained in:
parent
b43ea73257
commit
ddb2ea162f
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user