* TextControl.cs: Calculate width properly.
commit86ba4e0966844b1576513beafc99c2efeec4826b
authorJackson Harper <jackson@novell.com>
Thu, 18 Jan 2007 21:46:13 +0000 (18 21:46 -0000)
committerJackson Harper <jackson@novell.com>
Thu, 18 Jan 2007 21:46:13 +0000 (18 21:46 -0000)
tree5fb17cd65c9936c5a580e0a4549f7b716b249218
parent04773ac35f5f60f6aff801d1bfb5245e4f3a8820
    * TextControl.cs: Calculate width properly.
        - Don't store the tag's X offset, this can be figured out very
        easily.
        - When getting the caret tag make sure to get the last empty
          tag.

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