text: ﻿(function(){function f(b){for(var c={name:"autoCloseBrackets"},a=0;a<b.length;a+=2)(function(a,b){function e(a){var d=a.getCursor();if(a.getRange(d,CodeMirror.Pos(d.line,d.ch+1))!=b)return CodeMirror.Pass;a.execCommand("goCharRight")}c["'"+a+"'"]=function(c){if(!(a==b&&e(c)!=CodeMirror.Pass)){var d=c.getCursor("start"),d=CodeMirror.Pos(d.line,d.ch+1);c.replaceSelection(a+b,{head:d,anchor:d})}};a!=b&&(c["'"+b+"'"]=e)})(b.charAt(a),b.charAt(a+1));return c}CodeMirror.defineOption("autoCloseBrackets",
  !1,function(b,c,a){a=a&&a!=CodeMirror.Init;c&&!a?b.addKeyMap(f(typeof c=="string"?c:"()[]{}''\"\"")):!c&&a&&b.removeKeyMap("autoCloseBrackets")})})();