public int findReferencePosition(int offset) {
        indent = 0; // the indentation modification
        position = offset;
        nextToken();
        return skipToPreviousListItemOrListStart();
    }
Returns the reference position regarding to indentation for <code>offset</code>, or <code>NOT_FOUND</code>.

@param offset the offset for which the reference is computed
@return the reference statement relative to which <code>offset</code> should be indented, or
{@link SQLHeuristicScanner#NOT_FOUND}
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/indent/SQLIndenter.java