+
package net.sourceforge.phpeclipse.editors;
import java.util.ArrayList;
List rules = new ArrayList();
- IToken php_tag = new Token(HTML_TAG);
- IToken php_comment = new Token(PHP_COMMENT);
+ IToken php_tag = new Token(HTML_TAG);
+ IToken php_comment = new Token(PHP_COMMENT);
IToken html_comment = new Token(HTML_COMMENT);
rules.add(new MultiLineRule("<!--", "-->", html_comment));
rules.add(new MultiLineRule("/*", "*/", php_comment));
rules.add(new MultiLineRule("<script", "script>", php_tag));
+
+// rules.add(new TagRule(tag));
- // rules.add(new TagRule(tag));
-
- IPredicateRule[] result = new IPredicateRule[rules.size()];
+ IPredicateRule[] result= new IPredicateRule[rules.size()];
rules.toArray(result);
setPredicateRules(result);
}