}
});
}
public void createTextAttributes() {
attributeNonConsumed = new SimpleAttributeSet();
StyleConstants.setForeground(attributeNonConsumed, AWPrefs.getNonConsumedTokenColor());
attributeConsume = new SimpleAttributeSet();
StyleConstants.setForeground(attributeConsume, AWPrefs.getConsumedTokenColor());
attributeConsumeHidden = new SimpleAttributeSet();
StyleConstants.setForeground(attributeConsumeHidden, AWPrefs.getHiddenTokenColor());
attributeConsumeDead = new SimpleAttributeSet();
StyleConstants.setForeground(attributeConsumeDead, AWPrefs.getDeadTokenColor());
attributeLookahead = new SimpleAttributeSet();
StyleConstants.setForeground(attributeLookahead, AWPrefs.getLookaheadTokenColor());
StyleConstants.setItalic(attributeLookahead, true);
}