super.customizeDocumentCommand(doc, cmd);
}
@Override
protected BlockHeuristicsScannner createBlockHeuristicsScanner(IDocument doc) {
BlockTokenRule[] blockTokens = array(new BlockTokenRule('{', '}'));
if(parenthesesAsBlocks) {
blockTokens = ArrayUtil.concat(blockTokens, new BlockTokenRule('(', ')'));
}
return new BlockHeuristicsScannner(doc, partitioning, contentType, blockTokens);
}