You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
828 B
16 lines
828 B
dp.sh.Brushes.Java = function()
|
|
{
|
|
var keywords = 'abstract assert boolean break byte case catch char class const ' +
|
|
'continue default do double else enum extends ' +
|
|
'false final finally float for goto if implements import ' +
|
|
'instanceof int interface long native new null ' +
|
|
'package private protected public return ' +
|
|
'short static strictfp super switch synchronized this throw throws true ' +
|
|
'transient try void volatile while';
|
|
|
|
this.regexList = [
|
|
{ regex: dp.sh.RegexLib.SingleLineCComments, css: 'comment' }, // one line comments
|
|
{ regex: dp.sh.RegexLib.MultiLineCComments, css: 'comment' }, // multiline comments
|
|
{ regex: dp.sh.RegexLib.DoubleQuotedString, css: 'string' }, // strings
|
|
{ regex: dp.sh.RegexLib.SingleQuotedString, css: 'string' }, // strings
|