* TextControl.cs: Draw the caret and the selection when a flag
commitb959efde94da860bf934485f2d4358800d68e329
authorJackson Harper <jackson@novell.com>
Mon, 11 Dec 2006 18:52:02 +0000 (11 18:52 -0000)
committerJackson Harper <jackson@novell.com>
Mon, 11 Dec 2006 18:52:02 +0000 (11 18:52 -0000)
tree97da3fdda3d2fc3d1f16d7b84cf7b08ca4a33882
parent21d745764956d5cb429f1d1bc1dbeb5692b4f8fe
    * TextControl.cs: Draw the caret and the selection when a flag
        * is
        set on the owner.
        * TextBoxBase.cs: We want to draw the caret and the selection
        * for
        TextBox but not for TextBoxBase.
        - If the window is resized and scrolling is no longer needed
          (the
        whole doc is visible) set the scroll position to zero.
        - Scroll to the caret when the document is recalculated (this
        might be wrong, need a lot of testing here)
        - The default SelectWord (the one TextBox uses) should move the
        caret to the end of the word.
        - SelectAll moves the caret to the end of the selection.
        * TextBox.cs: We don't selectall on focus, we just do it when
        * the
        control is created.

svn path=/trunk/mcs/; revision=69348
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBox.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextControl.cs