@Override
    public void close() {
        if (hideFunction != null) {
            hideFunction.run();
        }
    }
The ranges returned are line/col positions in the input text. Thus the input text should
not be changed/formatted after the highlight ranges have been generated.
stroom-core-client/src/main/java/stroom/query/client/presenter/TextPresenter.java