We were shifting all the positions while keeping the original string, which caused problems later when combining highlighted ranges with matched indices.
We were shifting all the positions while keeping the original string, which caused problems later when combining highlighted ranges with matched indices.