public void registerCompletionPair(@NotNull String headToken, @NotNull String tailToken, @NotNull String tailEndToken) {
        this.registerCompletionInfo(headToken, new String[] {
            NEW_LINE_COMPLETION_PART, ONE_INDENT_COMPLETION_PART, NEW_LINE_COMPLETION_PART, tailToken + " " + tailEndToken, NEW_LINE_COMPLETION_PART
        }, tailToken, tailEndToken);
    }
Register block for autoedit containing token at the begin and two tokens at the end (e.g. LOOP .. END LOOP).
@param headToken is a beginning token of the block.
@param tailToken is a  beginning token of the block end.
@param tailEndToken - last token of the block.
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/indent/SQLBlockCompletionsCollection.java