mild hack to CodeMirror to allow highlighting matched (or unmatched) bracketed regions