http://bugzilla.novell.com/show_bug.cgi?id=588313
http://bugzilla.novell.com/show_bug.cgi?id=588313#c0 Summary: ArgumentOutOfRangeException when accessing RichTextBox.Lines property Classification: Mono Product: Mono: Class Libraries Version: 2.6.x Platform: x86 OS/Version: Windows XP Status: NEW Severity: Critical Priority: P5 - None Component: Windows.Forms AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Created an attachment (id=348414) --> (http://bugzilla.novell.com/attachment.cgi?id=348414) testcase (test.cs,Exception.txt,.rtf file) User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) In the appended testcase a RTF is loaded into a RTB. The SelectionChanged Event tries to show the Number of Lines via the Lines property. This can sometimes lead to an ArgumentOutOfRangeException (see appended Exception.txt file) Reproducible: Always Steps to Reproduce: 1.compile and run the attached testcase (test.cs) 2.Press the <Down> key (cursor jumps to next line) 3.Press the <Enter> key -> Exception is thrown This doesn't happen in SuseLinux -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
