2008-12-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
authorCarlos Alberto Cortez <calberto.cortez@gmail.com>
Tue, 9 Dec 2008 19:57:18 +0000 (19:57 -0000)
committerCarlos Alberto Cortez <calberto.cortez@gmail.com>
Tue, 9 Dec 2008 19:57:18 +0000 (19:57 -0000)
commit440b3466de38255d8582207d3cd28720cf380892
tree2a7737042ef78618e94cb54a7dcf33841bea1eac
parent2aec849b78aaab35e4c160fa6771508c122326c7
2008-12-09  Carlos Alberto Cortez <calberto.cortez@gmail.com>
* RichTextBox.cs: When parsing the contents of a rtf file, don't call
Split to create a line - we are already doing this, by _adding_ a new
one when rtf_cursor_x is 0 (this field gets this value just after we
receive the newline param as true). This avoids having a proportional number
of empty lines in the end of the rich text box.
Fixes #396664.

svn path=/trunk/mcs/; revision=121149
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/RichTextBox.cs