CodeMirror 2 support is no longer required, so the `markText()` function can also be cleaned up or removed.