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=79580 --- shadow/79580 2006-10-05 01:38:53.000000000 -0400 +++ shadow/79580.tmp.6865 2006-10-05 10:57:32.000000000 -0400 @@ -78,6 +78,40 @@ ------- Additional Comments From [EMAIL PROTECTED] 2006-10-05 01:38 ------- Are you using current SVN? Because I just fixed this exact same issue recently, and I can't duplicate the crash here. + +------- Additional Comments From [EMAIL PROTECTED] 2006-10-05 10:57 ------- +I updated to SVN again and still get the crash, maybe it is Windows +only? Anyways, I ran it in debug to find the line it's crashing on. +In the following block (roughly line 2128): + +if (update_caret) { + // Move caret to the end of the inserted text + if (insert_lines > 1) { + Line l = GetLine (line.line_no + insert_lines + 1); + PositionCaret(l, l.text.Length); + } else { + PositionCaret(line, pos + ins[0].Length); + } + if (owner.IsHandleCreated) { + XplatUI.CaretVisible(owner.Handle, true); + } +} + +It is crashing on the line: + PositionCaret(l, l.text.Length); +because l is null. + +line.line_no = 1, insert_lines = 3 + +The text that happened to be in my buffer this morning when I tried it + is between the following lines: +----------- + [Browsable (false)] + [EditorBrowsable (EditorBrowsableState.Never)] +----------- + +Also, I get the error both by pasting with Ctrl-V and using the +context menu Paste. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
