fix problems reporting correct character bounds for space at end of wrapped line
fix problems reporting correct character bounds for space at end of wrapped line

jessegrosjean/CodeMirror,jessegrosjean/CodeMirror,jessegrosjean/CodeMirror