private boolean eatFollowingWhitespace(int offset, int exclusiveEnd) {
            if (exclusiveEnd != -1 && offset != -1) {
                if (this.isWhitespace(offset, exclusiveEnd)) {
                    return false;
                } else {
                    return !this.isDelimiter(offset, exclusiveEnd);
                }
            } else {
                return false;
            }
        }
Finds the next position after the given position.

@param position the current position
@return the next position
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/SQLEditorCustomActions.java