[Mono-bugs] [Bug 80241][Blo] New - Textbox: ArgumentOutOfRangeException

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Dec 12 12:15:04 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 monkey at jpobst.com.

http://bugzilla.ximian.com/show_bug.cgi?id=80241

--- shadow/80241	2006-12-12 12:15:04.000000000 -0500
+++ shadow/80241.tmp.12737	2006-12-12 12:15:04.000000000 -0500
@@ -0,0 +1,56 @@
+Bug#: 80241
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: monkey at jpobst.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Textbox: ArgumentOutOfRangeException
+
+Run attachment.  Click to the bottom right of the text (to set your
+insertion point at the end of the last line).  Hold down the "1" key. 
+After the line wraps, you should get the following ArgumentOutOfRangeException:
+
+Unhandled Exception: System.ArgumentOutOfRangeException: Argument is out of
+range.
+
+Parameter name: index
+
+  at System.Text.StringBuilder.Insert (Int32 index, Char value) [0x00066]
+in
+C:\cygwin\tmp\scratch\mono-1.2.2\mcs\class\corlib\System.Text\StringBuilder.cs:574
+
+  at System.Windows.Forms.Document.InsertCharAtCaret (Char ch, Boolean
+move_caret) [0x00000] 
+  at System.Windows.Forms.TextBoxBase.WndProc
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.TextBox.WndProc (System.Windows.Forms.Message& m)
+[0x00000] 
+  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg,
+IntPtr wParam, IntPtr lParam) [0x00000] 
+  at (wrapper native-to-managed) System.Windows.Forms.NativeWindow:WndProc
+(intptr,System.Windows.Forms.Msg,intptr,intptr)
+  at <0x00000> <unknown method>
+  at (wrapper managed-to-native)
+System.Windows.Forms.XplatUIWin32:Win32DispatchMessage
+(System.Windows.Forms.MSG&)
+  at System.Windows.Forms.XplatUIWin32.DispatchMessage
+(System.Windows.Forms.MSG& msg) [0x00000] 
+  at System.Windows.Forms.XplatUI.DispatchMessage
+(System.Windows.Forms.MSG& msg) [0x00000] 
+  at System.Windows.Forms.Application.RunLoop (Boolean Modal,
+System.Windows.Forms.ApplicationContext context) [0x00000] 
+  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form
+mainForm) [0x00000] 
+  at TestForm.Main () [0x00000]


More information about the mono-bugs mailing list