private void doWithConfig(final Consumer<SourceConfig> action) {
        uiConfigCache.get(uiConfig -> {
            if (uiConfig != null) {
                action.accept(uiConfig.getSource());
            }
        }, getView());
    }
Will attempt to set the source range using the passed highlight, i.e. if the highlight
is towards the end of the data then it will set the range to enclose the highlight.
stroom-core-client/src/main/java/stroom/data/client/presenter/SourcePresenter.java