improved syntax highlighting scanners and preferences
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / php / PHPCodeScanner.java
index 1b74a75..9bf5601 100644 (file)
@@ -433,6 +433,7 @@ public class PHPCodeScanner extends AbstractJavaScanner {
        
     rules.add(wordRule);
     
+    setDefaultReturnToken(getToken(IPreferenceConstants.PHP_DEFAULT));
     return rules;
   }
 }