Package org.syntax.jedit

Examples of org.syntax.jedit.KeywordMap


        super(false, getKeywords());
    }

    public static KeywordMap getKeywords() {
        if (javaKeywords == null) {
            javaKeywords = new KeywordMap(false);
            javaKeywords.add("package", Token.KEYWORD2);
            javaKeywords.add("import", Token.KEYWORD2);
            javaKeywords.add("byte", Token.KEYWORD3);
            javaKeywords.add("char", Token.KEYWORD3);
            javaKeywords.add("short", Token.KEYWORD3);
View Full Code Here


    private static KeywordMap perlKeywords;

    private static KeywordMap getKeywords() {
        if (perlKeywords == null) {
            perlKeywords = new KeywordMap(false);
            perlKeywords.add("my", Token.KEYWORD1);
            perlKeywords.add("local", Token.KEYWORD1);
            perlKeywords.add("new", Token.KEYWORD1);
            perlKeywords.add("if", Token.KEYWORD1);
            perlKeywords.add("until", Token.KEYWORD1);
View Full Code Here

TOP

Related Classes of org.syntax.jedit.KeywordMap

Copyright © 2018 www.massapicom. 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.