Examples of NumberRule


Examples of org.eclipse.jface.text.rules.NumberRule

   
   
    rules.add(new MultiLineRule("/**", "*/", javadoc, (char) 0, true));
    rules.add(new MultiLineRule("/*", "*/", cfcommentBlock, (char) 0, true));
    rules.add(new EndOfLineRule("//", cfcomment));
    rules.add(new NumberRule(cfnumber));
   
    CFSyntaxDictionary dic = (CFSyntaxDictionary)DictionaryManager.getDictionary(DictionaryManager.CFDIC);
   
    //do any keywords
    //get any needed operators (or, and et cetra)
View Full Code Here

Examples of org.eclipse.jface.text.rules.NumberRule

    List rules = new ArrayList();

    rules.add(new SingleLineRule("\"", "\"", SQLString));
    rules.add(new SingleLineRule("'", "'", SQLString));
   
    rules.add(new NumberRule(cfnumber));
   
 
   
    //I think the reason this doesnt work as well as the <!-- type of comment
    //is that the <! type is defined on the partition scanner where this is
View Full Code Here

Examples of org.eclipse.jface.text.rules.NumberRule

    IRule[] rules = new IRule[5];
   
    // Add rule for double quotes
    rules[0] = new MultiLineRule("\"", "\"", string);
    rules[1] = new MultiLineRule("'","'",string);
    rules[2] = new NumberRule(cfnumber);
   
    //TODO: Point this to the correct dictionary now.
    //Needs to get the current dictionary for THIS project
    CFSyntaxDictionary cfd = (CFSyntaxDictionary)DictionaryManager.getDictionary(DictionaryManager.CFDIC);
   
View Full Code Here

Examples of org.eclipse.jface.text.rules.NumberRule

    rules.add(new EndOfLineRule("//", comment));
   
    rules.add(new SingleLineRule("\"", "\"", string, '\\'));
    rules.add(new SingleLineRule("'", "'", string, '\\'));
   
    rules.add(new NumberRule(cfnumber));
   
    IRule[] rulearry = new IRule[rules.size()];
    rules.toArray(rulearry);
   
    setRules(rulearry);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.