syntagmatic/CodeMirror2 — pull request #1 by kaniga (2012-04-30 19:18:00+00:00)
Title: added a trim check to prevent matching of white-spaces 

(which causes delays in large documents)