Posted 20 years ago
by Steve Millar

It appears when I get the Text property from the Document the resulting text strips the carriage returns if they exist. Is this behavior overridable?
Example code:
txtRaw.Document.Text = "\r\n";
string blah = txtRaw.Text;
The value of blah is "\n"
Example code:
txtRaw.Document.Text = "\r\n";
string blah = txtRaw.Text;
The value of blah is "\n"