Index: branches/5.2.x/core/ckeditor/ckfinder/plugins/fileeditor/plugin.js =================================================================== diff -u -N -r15042 -r15316 --- branches/5.2.x/core/ckeditor/ckfinder/plugins/fileeditor/plugin.js (.../plugin.js) (revision 15042) +++ branches/5.2.x/core/ckeditor/ckfinder/plugins/fileeditor/plugin.js (.../plugin.js) (revision 15316) @@ -1,5 +1,15 @@ -CKFinder.addPlugin( 'fileeditor', function( api ) { +/* + * Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.html or http://CKFINDER.com/license + * + * The software, this file and its contents are subject to the CKFinder + * License. Please read the license.txt file before using, installing, copying, + * modifying or distribute this file or part of its contents. The contents of + * this file is part of the Source Code of CKFinder. + */ +CKFinder.addPlugin( 'fileeditor', function( api ) { + var regexExt = /^(.*)\.([^\.]+)$/, regexTextExt = /^(txt|css|html|htm|js|asp|cfm|cfc|ascx|php|inc|xml|xslt|xsl)$/i, regexCodeMirrorExt = /^(css|html|htm|js|xml|xsl|php)$/i,