* RichTextBox.cs:
* TextBoxBase.cs: New args for FormatText
* TextControl.cs: Rewrote the main drawing method, this version
feels a little easier to understand and debug to me. Hopefully
it
does to others also
- Fix FormatText to OR in the new formating values. Added
FormatSpecified param, basically this works in the same way as
BoundsSpecified in Control.
- Set the caret properties when the caret is positioned.
- When wrapping text make sure that we calculate the width of
the
last character
- when calculating alignments we might have wrapped down to the
next line, so don't search for an individual tag, search for the
end of the line
svn path=/trunk/mcs/; revision=69763