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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=78323 --- shadow/78323 2006-05-07 11:40:45.000000000 -0400 +++ shadow/78323.tmp.5025 2006-05-07 11:40:45.000000000 -0400 @@ -0,0 +1,32 @@ +Bug#: 78323 +Product: Mono: Class Libraries +Version: unspecified +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: Windows.Forms +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: TextBox cursor doesn't get moved if you resize a TextBox to the correct position + +If you have a multiline TextBox and resize the TextBox (for example resize +a form with a TextBox with Dock = DockStyle.Fill) the cursor stays at the +same x,y position it was before. + +On windows, the cursor moves to the position in the text it was before. + +When the cursor is at the end of the text (before resizing) and you then +try to enter text you get a System.NullReferenceException in +.Document:RecalculateDocument. + +Attached is a simple test case. Start the app and move the cursor to the +last position in the text/behind the text. Now resize the form. The cursor +stays at the same x,y position in the textbox window. Enter now some text +and bang, NRE _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
