1;(function()
2{
3	// CommonJS
4	SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
5
6	function Brush()
7	{
8		// Contributed by Patrick Webster
9		// http://patrickwebster.blogspot.com/2009/04/javafx-brush-for-syntaxhighlighter.html
10		var datatypes =	'Boolean Byte Character Double Duration '
11						+ 'Float Integer Long Number Short String Void'
12						;
13
14		var keywords = 'abstract after and as assert at before bind bound break catch class '
15						+ 'continue def delete else exclusive extends false finally first for from '
16						+ 'function if import in indexof init insert instanceof into inverse last '
17						+ 'lazy mixin mod nativearray new not null on or override package postinit '
18						+ 'protected public public-init public-read replace return reverse sizeof '
19						+ 'step super then this throw true try tween typeof var where while with '
20						+ 'attribute let private readonly static trigger'
21						;
22
23		this.regexList = [
24			{ regex: SyntaxHighlighter.regexLib.singleLineCComments,	css: 'comments' },
25			{ regex: SyntaxHighlighter.regexLib.multiLineCComments,		css: 'comments' },
26			{ regex: SyntaxHighlighter.regexLib.singleQuotedString,		css: 'string' },
27			{ regex: SyntaxHighlighter.regexLib.doubleQuotedString,		css: 'string' },
28			{ regex: /(-?\.?)(\b(\d*\.?\d+|\d+\.?\d*)(e[+-]?\d+)?|0x[a-f\d]+)\b\.?/gi, css: 'color2' },	// numbers
29			{ regex: new RegExp(this.getKeywords(datatypes), 'gm'),		css: 'variable' },	// datatypes
30			{ regex: new RegExp(this.getKeywords(keywords), 'gm'),		css: 'keyword' }
31		];
32		this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
33	};
34
35	Brush.prototype	= new SyntaxHighlighter.Highlighter();
36	Brush.aliases	= ['jfx', 'javafx'];
37
38	SyntaxHighlighter.brushes.JavaFX = Brush;
39
40	// CommonJS
41	typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
42})();
43