This is no worse than our CodeMirror2 implementation in the case of a shrinking inline editor. When the line range grows, we now avoid a ``hostEditor.refresh()`` and get smooth scrolling when adding new lines to the inline editor.