marijnh/CodeMirror — pull request #1822 by Tomas-A (2013-09-12 15:53:45+00:00)
Title: A fix for multiple-line search

There must be an error in line 73 because if the phrase starts at the same character position then conditional if will always become true (same number is equal to same number) therefore it must be changed to strict less than.
Here's an example using addon from your official website http://pastebin.com/UdEffwPv
As you can see replacing multiple line doesn't work because first character starts at position number 0
Now there's example with the edit which I have proposed and it works fine
http://pastebin.com/K3xQ87nd