* TextBoxBase.cs: Use the new SuspendRecalc/ResumeRecalc methods
commit8bc19671ee4d446c886c3e1ea09a5d6931b11693
authorJackson Harper <jackson@novell.com>
Tue, 16 Jan 2007 20:23:42 +0000 (16 20:23 -0000)
committerJackson Harper <jackson@novell.com>
Tue, 16 Jan 2007 20:23:42 +0000 (16 20:23 -0000)
treee202ad6bf38cd1511867a99dcf789657364b7587
parent86fe6d5cf211b8f6c8fbb8c6f368aa00b2ee47c9
    * TextBoxBase.cs: Use the new SuspendRecalc/ResumeRecalc methods
        that allow us to have nested recalc = false blocks.
        - Add paste support for images in the RichTextBox
        * RichTextBox.cs: flush the text after the color is changed, so
        the change takes effect.
        - Use SuspendRecalc
        - Some extra debugging info
        * TextControl.cs: Tags no longer track their length, it is just
        computed from the next tags length, this makes things a little
        simpler and reduces places that we have to track length changes.
        - Refactored the linetag class a little so we could make it
        a base class for different kinds of tags
        - Created a image tag, a tag that can have a single image
          inserted
        into it
        - Replace the norecalc flag with a Suspend/Resume Recalc pair,
          so
        that we can call suspend multiple times.
        - Add some debugging methods

svn path=/trunk/mcs/; revision=71170
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