private void installSyntaxHighlighting(LdapStructureEntryNode entry) {
FilterExpressionTokens tokens = new FilterExpressionTokens(entry);
TokenScanner scanner = new FilterTokenScanner(tokens);
TokenStyles styles = new FilterTokenStyles(tokens);
SyntaxHighlightDocument doc = new DefaultSyntaxHighlightDocument(styles);
textArea.setDocument(doc);
TextPartitioner partitioner = new TextPartitioner(scanner);
doc.setPartitioner(partitioner);
}