/**
 * SyntaxHighlighter
 * http://alexgorbatchev.com/
 *
 * SyntaxHighlighter is donationware. If you are using it, please donate.
 * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
 *
 * @version
 * 2.0.320 (May 03 2009)
 * 
 * @copyright
 * Copyright (C) 2004-2009 Alex Gorbatchev.
 *
 * @license
 * This file is part of SyntaxHighlighter.
 * 
 * SyntaxHighlighter is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * SyntaxHighlighter is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with SyntaxHighlighter.  If not, see <http://www.gnu.org/copyleft/lesser.html>.
 */
SyntaxHighlighter.brushes.KKRDiff = function()
{
	this.regexList = [
		{ regex: /^(|([$#%] *)?)diff .+/gm, css: 'diff_cmd' },
		{ regex: /^-(\n|[^-].*)/gm, css: 'diff_a' },	// a
		{ regex: /^\+(\n|[^\+].*)/gm, css: 'diff_b' },	// b
		{ regex: /^-{3} .+/gm, css: 'diff_file_a' },	// file:a(,range(context))
		{ regex: /(^\+{3} .+|^\*{3} [^\*]+$)/gm, css: 'diff_file_b' },	// file:b
		{ regex: /^! .+/gm, css: 'diff_modified' },	// file:original
		{ regex: /(^@@ .+|^\*{3} \d+,\d+ \*{4}$)/gm, css: 'diff_range' },	// hunk range
		{ regex: /^\*+$/gm, css: 'diff_begin' },	// before hunk range(context)
		];
};

SyntaxHighlighter.brushes.KKRDiff.prototype	= new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.KKRDiff.aliases		= ['diff', 'patch'];
