Package org.syntax.jedit

Examples of org.syntax.jedit.SyntaxStyle


  public SyntaxStyle[] createXmlStyles()
  {
    SyntaxStyle[] styles = new SyntaxStyle[Token.ID_COUNT];

    styles[Token.COMMENT1] = new SyntaxStyle( Color.black, true, false );
    styles[Token.COMMENT2] = new SyntaxStyle( new Color( 0x990033 ), true, false );
    styles[Token.KEYWORD1] = new SyntaxStyle( Color.blue, false, false );
    styles[Token.KEYWORD2] = new SyntaxStyle( Color.magenta, false, false );
    styles[Token.KEYWORD3] = new SyntaxStyle( new Color( 0x009600 ), false, false );
    styles[Token.LITERAL1] = new SyntaxStyle( new Color( 0x650099 ), false, false );
    styles[Token.LITERAL2] = new SyntaxStyle( new Color( 0x650099 ), false, true );
    styles[Token.LABEL] = new SyntaxStyle( new Color( 0x990033 ), false, true );
    styles[Token.OPERATOR] = new SyntaxStyle( Color.black, false, true );
    styles[Token.INVALID] = new SyntaxStyle( Color.red, false, true );

    return styles;
  }
View Full Code Here

TOP

Related Classes of org.syntax.jedit.SyntaxStyle

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.