This fix is for Issue#89 "Index out of range panic in DiffCharsToLines on large JSON diff".
Moved the index stored from rune to string array. Using delimeter "," the string array is combined to a string . This string is converted to rune array and returned for DiffLinesToRunes.
DiffCharsToLines method, split the index string, which is the diff using the delimeter and then use the index to fetch data from linearray.
This fix is for Issue#89 "Index out of range panic in DiffCharsToLines on large JSON diff".
Moved the index stored from rune to string array. Using delimeter "," the string array is combined to a string . This string is converted to rune array and returned for DiffLinesToRunes. DiffCharsToLines method, split the index string, which is the diff using the delimeter and then use the index to fetch data from linearray.