dp.sh.Brushes.JavaFX = function() {
	var keywords =	'abstract after at bind class def default delete extends false from ' +
					'function implements import in indexof init into insert instanceof int interface inverse mod ' +
					'new null on override package postinit private protected public ' +
					'public-init public-read replace reverse sizeof static step super ' +
					'this throw throws transient true var void where with';

    var builtins =	'break catch continue else finally for if return then try 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' },	// double quoted strings
		{ regex: dp.sh.RegexLib.SingleQuotedString,	css: 'string' },	// single quoted strings
		{ regex: new RegExp('^\\s*#.*', 'gm'),		css: 'preprocessor' },// preprocessor tags like #region and #endregion
		{ regex: new RegExp(this.GetKeywords(keywords), 'gm'),css: 'keyword' },// keywords
        { regex: new RegExp(this.GetKeywords(builtins), 'gm'),	css: 'builtin' } // builtins
		];

	this.CssClass = 'dp-javafx';
    this.Style =	'.dp-javafx .builtin { color: #14aa93; }';
}

dp.sh.Brushes.JavaFX.prototype = new dp.sh.Highlighter();
dp.sh.Brushes.JavaFX.Aliases	= ['jfx', 'javafx'];
