Posted 19 years ago
by Steve Millar
![Avatar](https://secure.gravatar.com/avatar/206de0d60cd652ac796a07f2238dedf5.jpg?s=64&d=identicon&r=g)
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"