Open a file
Select search and replace
Find what: anything
Replace with: <empty string>
SharpDevelop Version : 3.0.0.2970
.NET Version : 2.0.50727.1433
OS Version : Microsoft Windows NT 5.1.2600 Service Pack 2
Current culture : Dutch (Netherlands) (nl-NL)
Current UI language : en
Working Set Memory : 138732kb
GC Heap Memory : 37311kb
Exception thrown:
System.ArgumentOutOfRangeException: offset should be between 0 and 1213
Parameter name: offset
Actual value was -1.
at ICSharpCode.TextEditor.Document.LineSegmentTree.GetNodeByOffset(Int32 offset)
at ICSharpCode.TextEditor.Document.DefaultDocument.OffsetToPosition(Int32 offset)
at SearchAndReplace.ProvidedDocumentInformation.set_CurrentOffset(Int32 value)
at SearchAndReplace.ProvidedDocumentInformation.Replace(Int32 offset, Int32 length, String pattern)
at SearchAndReplace.Search.Replace(Int32 offset, Int32 length, String pattern)
at SearchAndReplace.SearchReplaceManager.ReplaceAll(IProgressMonitor monitor)
at SearchAndReplace.SearchAndReplacePanel.ReplaceAllButtonClicked(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)