SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Exception when reverting a file (subversion)

Last post 05-07-2008 10:15 AM by david_mys. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 05-07-2008 10:15 AM

    Exception when reverting a file (subversion)

    Select a versioned and modified file in projects tab and do context menu-> revert, then #D crashes.
    Maybe the file was not saved at that time, I don't remember.

     

    SharpDevelop Version : 2.2.1.2648
    .NET Version         : 2.0.50727.1433
    OS Version           : Microsoft Windows NT 5.1.2600 Service Pack 2
    Current culture      : German (Switzerland) (de-CH)
    Current UI language  : en-US
    Working Set Memory   : 153460kb
    GC Heap Memory       : 97792kb

    Exception thrown:
    System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: startIndex
       at System.String.CtorCharArrayStartLength(Char[ value, Int32 startIndex, Int32 length)
       at ICSharpCode.TextEditor.Document.GapTextBufferStrategy.GetText(Int32 offset, Int32 length)
       at ICSharpCode.TextEditor.Document.DefaultDocument.GetText(ISegment segment)
       at ICSharpCode.SharpDevelop.Bookmarks.BookmarkNode.MeasureItemWidth(DrawTreeNodeEventArgs e)
       at ICSharpCode.SharpDevelop.Gui.ExtTreeNode.DrawBackground(DrawTreeNodeEventArgs e)
       at ICSharpCode.SharpDevelop.Gui.ExtTreeNode.Draw(DrawTreeNodeEventArgs e)
       at ICSharpCode.SharpDevelop.Gui.ExtTreeView.OnDrawNode(DrawTreeNodeEventArgs e)
       at System.Windows.Forms.TreeView.CustomDraw(Message& m)
       at System.Windows.Forms.TreeView.WmNotify(Message& m)
       at System.Windows.Forms.TreeView.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)

    Filed under:
Page 1 of 1 (1 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.