To reproduce this bug: Ctrl + Shift + B (Boo interpreter), Ctrl + Space, Down Arrow, Enter.
SharpDevelop Version : 2.1.0.2429
.NET Version : 2.0.50727.42
OS Version : Microsoft Windows NT 5.1.2600 Service Pack 2
Current culture : English (United States) (en-US)
Working Set Memory : 72164kb
GC Heap Memory : 6994kb
Exception thrown:
System.ArgumentOutOfRangeException: should be between 0 and 51
Parameter name: offset
Actual value was 52.
at ICSharpCode.TextEditor.Document.DefaultLineManager.GetLineNumberForOffset(Int32 offset)
at ICSharpCode.TextEditor.Document.DefaultDocument.OffsetToPosition(Int32 offset)
at ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor.AbstractCompletionDataProvider.InsertAction(ICompletionData data, TextArea textArea, Int32 insertionOffset, Char key)
at ICSharpCode.TextEditor.Gui.CompletionWindow.CodeCompletionWindow.InsertSelectedItem(Char ch)
at ICSharpCode.TextEditor.Gui.CompletionWindow.CodeCompletionWindow.ProcessTextAreaKey(Keys keyData)
at ICSharpCode.TextEditor.DialogKeyProcessor.Invoke(Keys keyData)
at ICSharpCode.TextEditor.TextArea.ExecuteDialogKey(Keys keyData)
at ICSharpCode.TextEditor.TextArea.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)