Change RTF token \line to \pard\line so that text displays properly.
Pause timer to refresh the treeview while items are being added.
This commit is contained in:
@@ -312,6 +312,8 @@ namespace VEPROMS.CSLA.Library
|
||||
// save portion of this code for an explanation.
|
||||
text = text.Replace(@"\~", @"\u160?");
|
||||
text = text.Replace("\r\n", @"\line "); // replace a \r\n with a \line instead of a \par
|
||||
text = text.Replace(@"\line", @"\pard\line");
|
||||
text = text.Replace(@"\pard\pard\line", @"\pard\line");
|
||||
//if (text.IndexOf(@"\line") > -1)
|
||||
// MessageBox.Show("Found rtf line");
|
||||
//text = text.Replace(@"\line", @"\par"); // we don't want to replace the \line part of bug fix B2015-140
|
||||
|
Reference in New Issue
Block a user