* RichTextBox.cs:
commit9c245ca7667acc48616741c847548e2c1d1c5b35
authorJackson Harper <jackson@novell.com>
Tue, 19 Dec 2006 17:57:16 +0000 (19 17:57 -0000)
committerJackson Harper <jackson@novell.com>
Tue, 19 Dec 2006 17:57:16 +0000 (19 17:57 -0000)
tree0c006180935e6f054422414143a0d78e1b71760a
parent9aee366063f35e811b86c83ce11185b9b17b742c
    * 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
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/RichTextBox.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextControl.cs