}
if (enabled) {
tempParser = new AbstractParser() {
public ParseResult parse(RSyntaxDocument doc, String style) {
reparse();
return new DefaultParseResult(this);
}
};
textArea.addParser(tempParser);
support.firePropertyChange(PROPERTY_FOLDS_UPDATED, null, null);
//reparse();