SharpDevelop Community

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

Replace All Exception

Last post 01-11-2008 1:22 PM by lextm. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 01-11-2008 1:22 PM

    • lextm
    • Top 100 Contributor
    • Joined on 07-12-2006
    • Posts 23

    Replace All Exception

     SharpDevelop Version : 3.0.0.2811
    .NET Version         : 2.0.50727.1433
    OS Version           : Microsoft Windows NT 6.0.6001 Service Pack 1, v.658
    Current culture      : Chinese (People's Republic of China) (zh-CN)
    Working Set Memory   : 101544kb
    GC Heap Memory       : 47572kb

    Exception thrown:
    System.ArgumentOutOfRangeException: 0 <= offset < 11759
    参数名: offset
    实际值是 -7。
       在 ICSharpCode.TextEditor.Document.GapTextBufferStrategy.GetCharAt(Int32 offset)
       在 SearchAndReplace.BruteForceSearchStrategy.MatchCaseInsensitive(ITextBufferStrategy document, Int32 offset, String pattern)
       在 SearchAndReplace.BruteForceSearchStrategy.InternalFindNext(ITextIterator textIterator)
       在 SearchAndReplace.BruteForceSearchStrategy.FindNext(ITextIterator textIterator)
       在 SearchAndReplace.Search.FindNext()
       在 SearchAndReplace.SearchReplaceManager.ReplaceAll(IProgressMonitor monitor)
       在 SearchAndReplace.SearchAndReplacePanel.ReplaceAllButtonClicked(Object sender, EventArgs e)
       在 System.Windows.Forms.Control.OnClick(EventArgs e)
       在 System.Windows.Forms.Button.OnClick(EventArgs e)
       在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       在 System.Windows.Forms.Control.WndProc(Message& m)
       在 System.Windows.Forms.ButtonBase.WndProc(Message& m)
       在 System.Windows.Forms.Button.WndProc(Message& m)
       在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       在 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.