[Mono-bugs] [Bug 78402][Nor] Changed - TextBoxBase: text selection does not work when TextAlign is not HorizontalAlignment.Left

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri May 26 12:42:16 EDT 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 atsushi at ximian.com.


--- shadow/78402	2006-05-15 06:00:06.000000000 -0400
+++ shadow/78402.tmp.27580	2006-05-26 12:42:16.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 78402
 Product: Mono: Class Libraries
 Version: 1.1
+OS: unknown
 OS Details: 
 Status: NEW   
+Severity: Unknown
 Priority: Normal
 Component: Windows.Forms
 AssignedTo: peter at novonyx.com                            
 ReportedBy: atsushi at ximian.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -41,6 +41,15 @@
 Steps to reproduce the problem:
 1. compile and run it.
 2. move to the text box and deselect text.
 3. try to select some.
+------- Additional Comments From atsushi at ximian.com  2006-05-26 12:42 -------
+I dug in depth and found that LineTag.X always premises
+HorizontalAlignment.Left in RecalculateLine().
+To me this looks somewhat fundamental problem: in current TextControl
+code base, left/right (regardless of HorizontalAlignment) and
+start/end (differs depending on HorizontalAlignment) are not
+distinguished properly.

More information about the mono-bugs mailing list