Menu

#113 Find/Replace

open
nobody
5
2013-02-13
2013-02-13
MEBV
No

when doing find/replace with an applied filter, every few instances (not regularly but frequently), olifant shows behaviour similar to that described under Bug ID: 2651759. Olifant appears frozen, only right clicking on the taskbar entry of an olifant error message > "Move" > blind left click and drag gets the error message out from under the find/replace window.

the error message is the following:

Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
at System.Globalization.CompareInfo.IndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options)
at System.Globalization.CompareInfo.IndexOf(String source, String value, Int32 startIndex)
at Olifant.MatchFinder.Find(String p_sText, Int32 p_nStartIndex, Int32& p_nLengthFound)
at Olifant.MatchFinder.Find(DataRow p_Row, Int32 p_nStartField, Int32 p_nStartPos, Int32 p_nStopField, Int32 p_nStopPos, Int32& p_nField, Int32& p_nLengthFound)
at Olifant.MainForm.FindNext(Boolean p_bShowFRCount, Boolean p_bReplaceMode)
Olifant v3.0.8.0; CC=English (United States); IL=German; OS=Microsoft Windows NT 5.1.2600 Service Pack 3

i am editing a TMX with exactly 100 000 entries (locked as max).

Discussion