Re: Issues in Undoing textbox values

Ivan Zlatev <[email protected]>
Newsgroups gmane.comp.gnome.winforms
Message-ID <[email protected]>
Hi,

Please, make a small compilable test case that reproduces the issue
and file a bug report - http://mono-project.com/Bugs

Kind Regards,

Ivan Zlatev
http://ivanzlatev.com



On Wed, Aug 12, 2009 at 3:11 PM, Jijesh<[email protected]> wrote:
>
> 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
>
_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.