protected Map<String, IToken> tagNames = new HashMap<String, IToken>();
protected Map<String, IToken> keywords = new HashMap<String, IToken>();
private StringBuffer strBuffer = new StringBuffer();
public DjangoTagRule(ColorProvider provider) {
wordDetector = new GenericWordDetector();
colorProvider = provider;
delimiterToken = colorProvider.getToken(IDjangoPrefs.DJDELIMITER_COLOR, IDjangoPrefs.DJDELIMITER_STYLE);
usertagToken = colorProvider.getToken(IDjangoPrefs.DJUSRTAG_COLOR, IDjangoPrefs.DJUSRTAG_STYLE);
keywordToken = colorProvider.getToken(IDjangoPrefs.DJKEYWORD_COLOR, IDjangoPrefs.DJKEYWORD_STYLE);