IToken script = provider.getToken(HTMLPlugin.PREF_COLOR_SCRIPT);
List<IRule> rules = new ArrayList<IRule>();
rules.add(new SingleLineRule("\"", "\"", string, '\\'));
rules.add(new SingleLineRule("\'", "\'", string, '\\'));
rules.add(new WhitespaceRule(new HTMLWhitespaceDetector()));
WordRule delimitor = new WordRule(new IWordDetector(){
public boolean isWordStart(char c){
if(c=='<' || c=='%' || c=='@'){
return true;