[Mono-bugs] [Bug 79799][Nor] New - TextBox multiline issues
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Nov 1 06:57:30 EST 2006
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by gert.driesen at pandora.be.
http://bugzilla.ximian.com/show_bug.cgi?id=79799
--- shadow/79799 2006-11-01 06:57:30.000000000 -0500
+++ shadow/79799.tmp.29323 2006-11-01 06:57:30.000000000 -0500
@@ -0,0 +1,43 @@
+Bug#: 79799
+Product: Mono: Class Libraries
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com
+ReportedBy: gert.driesen at pandora.be
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: TextBox multiline issues
+
+I've noticed the following issues with regards to handling of multiline
+text:
+
+When TextBox.Multiline is false:
+* text containing (CR)LFs is still visually split over several lines
+* TextBox.Lines does not contain an entry for each "line"
+
+When TextBox.Multiline is changed after text containing (CR)LFs was
+added, then depending on whether the new value for Multiline is true or
+false, the text should be visually split over several lines or not.
+
+To reproduce:
+
+1. compile and run the attached code snippet.
+2. follow the on-screen instructions.
+
+This issue also causes the AppendTextTest2 unit test in TextBoxTest to
+fail on Mono. I'll probably add other unit tests later.
+
+Note:
+
+There appears to be a bug in MS.NET where text containing LF (not CRLF)
+is taken into account for TextBox.Lines, but is not visually split over
+multiple lines. Should we do the same on Windows, or should I submit a
+bug report for this later (for MS).
More information about the mono-bugs
mailing list