H! Friends.. I have created a winforms dataentry application for windows. But later we moved to ubuntu. I installed the same application using Mono in ubuntu. But the application is getting crashed on repeatedly undoing(pressing ctrl+z ) the values in text boxes at times. Am getting the error as follows.
System.ArgumentOutOfRangeException: Argument is out of range. at System.Text.StringBuilder.ToString (Int32 startIndex, Int32 length) [0x00000] at System.Windows.Forms.Document.Split (System.Windows.Forms.Line line, System.Windows.Forms.LineTag tag, Int32 pos) [0x00000] at System.Windows.Forms.Document.Split (System.Windows.Forms.Line line, Int32 pos) [0x00000] at System.Windows.Forms.UndoManager.Insert (System.Windows.Forms.Line line, Int32 pos, System.Windows.Forms.Line insert, Boolean select) [0x00000] at System.Windows.Forms.UndoManager.Undo () [0x00000] at System.Windows.Forms.TextBoxBase.Undo () [0x00000] at System.Windows.Forms.TextBoxBase.ProcessKey (Keys keyData) [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+ControlWindowTarget.OnMessage (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] My environment details: OS:ubuntu 9.04 mono version: Mono 2.4+dfsg-4~dhx1~jaunty1 Thanks, Jijesh VR -- View this message in context: http://www.nabble.com/Issues-in-Undoing-textbox-values-tp24937419p24937419.html Sent from the Mono - WinForms mailing list archive at Nabble.com. _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list
