This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

ColorCode Plugin Properties#

The example below directs the plugin to format SQL source code:

#
# HTML codes
#
colorcode.area.class: body
colorcode.area.bgcolor: #ffffec
colorcode.keyword.font.color: blue
colorcode.keyword.font.bold: true
colorcode.keyword.font.italic: false
colorcode.keyword.foldcase: upper
colorcode.keyword.ignorecase: true
colorcode.symbol.font.color: #000000
colorcode.symbol.font.bold: true
colorcode.symbol.font.italic: false
colorcode.string.font.color: #2a00ff
colorcode.string.font.bold: false
colorcode.string.font.italic: false
colorcode.number.font.color: #800000
colorcode.number.font.bold: false
colorcode.number.font.italic: false
colorcode.normal.font.color:  #000080
colorcode.normal.font.bold: false
colorcode.normal.font.italic: false
colorcode.normal.foldcase: lower
colorcode.comment.font.color: #3f7f5f
colorcode.comment.font.bold: false
colorcode.comment.font.italic: true
colorcode.special.font.color: #8000ff
colorcode.special.font.bold: false
colorcode.special.font.italic: false
colorcode.special.pattern: \\$\\{[a-zA-Z0-9_-]+\\}
colorcode.font.bold.on: <b>
colorcode.font.bold.off: </b>
colorcode.font.italic.on: <i>
colorcode.font.italic.off: </i>
colorcode.newline: <br/>
colorcode.space: &nbsp;
colorcode.tabsize: 4

#
# SQL Keywords
#
colorcode.keywords: SELECT,FROM,WHERE,GROUP,ORDER,AND,OR,AS,\
ON,BY,JOIN,INSERT,UPDATE,MERGE,TRUNCATE,DELETE,INTO,SET,VALUES,\
START,TRANSACTION,BEGIN,WORK,COMMIT,ROLLBACK,CREATE,DROP,TABLE,\
PRIMARY,ALTER,NOT,NULL,KEY,FOREIGN,REFERENCES,ADD,CONSTRAINT,\
SYSDATE,MAX,CASCADE,CONSTRAINTS,DEFAULT,LIKE,\
CHAR,VARCHAR,VARCHAR2,NUMBER,INTEGER,TIMESTAMP,DATE,TIME,\
LONGVARCHAR,DECIMAL,BIT,TINYINT,SMALLINT,INTEGER,BIGINT,REAL,BLOB,CLOB,\
FLOAT,DOUBLE,BINARY,VARBINARY,LONGVARBINARY,BOOLEANCHAR,BOOLEANINT

#
# Program the tokenizer:
#

#tokenizer.commentChar: 
tokenizer.eolIsSignificant: true
#tokenizer.lowerCaseMode: true
tokenizer.ordinaryChar: _,0x20,$,{,}
tokenizer.wordChar: _,$,{,}
tokenizer.wordChars: 65-122
#tokenizer.ordinaryChars: 
tokenizer.parseNumbers: true
tokenizer.quoteChar: ',"
tokenizer.slashSlashComments: false
tokenizer.slashStarComments: false
#tokenizer.whitespaceChars: 0x20,0x20


Back

Add new attachment

Only authorized users are allowed to upload new attachments.
« This particular version was published on 29-Sep-2006 14:29 by Sothach.