I simply navigate and search between files in a previous commit (File tree). A new search "Find next" give me this error.
Search the text (highlight text and jump to the location)
I don't know how to reproduce now. Previous searches work fine.
System.ArgumentOutOfRangeException: 0 <= offset < 9631
Parameter name: offset
Actual value was 75480.
at ICSharpCode.TextEditor.Document.GapTextBufferStrategy.GetCharAt(Int32 offset)
at GitUI.TextEditorSearcher.FindNextIn(Int32 offset1, Int32 offset2, Boolean searchBackward)
at GitUI.TextEditorSearcher.FindNext(Int32 beginAtOffset, Boolean searchBackward, Boolean& loopedAround)
at GitUI.FindAndReplaceForm.<FindNextAsync>d__27.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at GitUI.FindAndReplaceForm.<btnFindNext_Click>d__26.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
I simply navigate and search between files in a previous commit (File tree). A new search "Find next" give me this error.
I also ran into this bug today. It specifically happens on Find (selection only) operations.
Steps to reproduce:
Note: The application only crashes when doing a find next/previous. Find all and highlight does not cause a crash.
Reproduced
Most helpful comment
I also ran into this bug today. It specifically happens on Find (selection only) operations.
Steps to reproduce:
Note: The application only crashes when doing a find next/previous. Find all and highlight does not cause a crash.