public void registerCompletionPair(@NotNull String headToken, @NotNull String tailToken) {
        this.registerBlockCompletionInfo(headToken, new String[] {
            NEW_LINE_COMPLETION_PART, ONE_INDENT_COMPLETION_PART, NEW_LINE_COMPLETION_PART, tailToken, NEW_LINE_COMPLETION_PART
        }, tailToken, null, null);
    }
Register block for autoedit containing token at the begin and token at the end (e.g. BEGIN .. END).
@param headToken is a beginning token of the block
@param tailToken is an ending token of the block
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/indent/SQLBlockCompletionsCollection.java