public TextRange advance(final int delta) {
        return new TextRange(
                DefaultLocation.of(from.getLineNo(), from.getColNo() + delta),
                DefaultLocation.of(to.getLineNo(), to.getColNo() + delta));
    }
Move the highlight forwards or backwards only the same line by charDelta chars
stroom-util-shared/src/main/java/stroom/util/shared/TextRange.java