* TextControl.cs: We were almost always drawing one more line
commit1c487b1c6f4b048f73cd1e1672a71ee9736e5dc4
authorJackson Harper <jackson@novell.com>
Tue, 12 Dec 2006 18:00:50 +0000 (12 18:00 -0000)
committerJackson Harper <jackson@novell.com>
Tue, 12 Dec 2006 18:00:50 +0000 (12 18:00 -0000)
treec19a9d08875b2b5d835b855b4ea5ebc8dafcaccc
parentea123ebd19350bcc75f2fe685604b670598b8a89
    * TextControl.cs: We were almost always drawing one more line
        * then
        needed, since the GetLineByPixel will return the last line found
        at that pixel. In most cases though, we were invalidating up to
        the junction between two lines.
        - Improve debug code.

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