When passing a string to CodeMirror.getSearchCursor, and doing a case-insensitive search, CodeMirror will do toLowerString() on each line. That is expensive. Use a case-insensitive RegExp instead.
<rdar://problem/16190839>
Created attachment 225429 [details] Patch
Comment on attachment 225429 [details] Patch r=me
Comment on attachment 225429 [details] Patch Clearing flags on attachment: 225429 Committed r164846: <http://trac.webkit.org/changeset/164846>
All reviewed patches have been landed. Closing bug.