[Mono-bugs] [Bug 324274] TextBox: Problem with different newlines and multi-line TextBox controls overlapping text

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Nov 14 19:06:38 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=324274#c1


Jonathan Pobst <jpobst at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|NEW                                             |RESOLVED
         Resolution|                                                |FIXED




--- Comment #1 from Jonathan Pobst <jpobst at novell.com>  2007-11-14 17:06:37 MST ---
Fixed in r89642.  I chose to respect both \n and \r\n on both platforms.  I
fixed the other cases to not draw on top of each other as well.

2007-11-14  Jonathan Pobst  <monkey at jpobst dot com>

        * LineTag.cs: Don't attempt to draw '\r', treat it like it doesn't
exist.
        When measureing CR or LF, use /u000D instead of /u0013. (Hex, not
decimal.)
        * TextControl.cs: Fix a case in GetLineEnding where a \n before a \r
would
        be ignored.  Create a new GetLineEnding that can specify which types of
        line endings to look for.  On Insert, only create new lines for \n and
\r\n.
        [Fixes bug #324274]


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list