testing around with plugin properties ;)
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / editors / PHPPartitionScanner.java
index 5c56abf..61e7a31 100644 (file)
@@ -1,3 +1,4 @@
+
 package net.sourceforge.phpeclipse.editors;
 
 import java.util.ArrayList;
@@ -16,17 +17,17 @@ public class PHPPartitionScanner extends RuleBasedPartitionScanner {
 
                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);
        }