text: (function(h){"object"==typeof exports&&"object"==typeof module?h(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],h):h(CodeMirror)})(function(h){function p(k){var g={};k=k.split(" ");for(var l=0;l<k.length;++l)g[k[l]]=!0;return g}h.defineMode("ttcn-cfg",function(k,g){function l(a,b){var c=a.next();if('"'==c||"'"==c)return b.tokenize=u(c),b.tokenize(a,b);if(/[:=]/.test(c))return e=c,"punctuation";if("#"==c)return a.skipToEnd(),"comment";if(/\d/.test(c))return a.eatWhile(/[\w\.]/),
  "number";if(q.test(c))return a.eatWhile(q),"operator";if("["==c)return a.eatWhile(/[\w_\]]/),"number sectionTitle";a.eatWhile(/[\w\$_]/);a=a.current();return v.propertyIsEnumerable(a)?"keyword":w.propertyIsEnumerable(a)?"negative fileNCtrlMaskOptions":x.propertyIsEnumerable(a)?"negative externalCommands":"variable"}function u(a){return function(b,c){for(var d=!1,f,r=!1;null!=(f=b.next());){if(f==a&&!d){if(f=b.peek())f=f.toLowerCase(),"b"!=f&&"h"!=f&&"o"!=f||b.next();r=!0;break}d=!d&&"\\"==f}if(r||
  !d&&!y)c.tokenize=null;return"string"}}function t(a,b,c,d,f){this.indented=a;this.column=b;this.type=c;this.align=d;this.prev=f}function n(a,b,c){var d=a.indented;a.context&&"statement"==a.context.type&&(d=a.context.indented);return a.context=new t(d,b,c,null,a.context)}function m(a){var b=a.context.type;if(")"==b||"]"==b||"}"==b)a.indented=a.context.indented;return a.context=a.context.prev}var z=k.indentUnit,v=g.keywords||{},w=g.fileNCtrlMaskOptions||{},x=g.externalCommands||{},y=g.multiLineStrings,
  A=!1!==g.indentStatements,q=/[\|]/,e;return{startState:function(a){return{tokenize:null,context:new t((a||0)-z,0,"top",!1),indented:0,startOfLine:!0}},token:function(a,b){var c=b.context;a.sol()&&(null==c.align&&(c.align=!1),b.indented=a.indentation(),b.startOfLine=!0);if(a.eatSpace())return null;e=null;var d=(b.tokenize||l)(a,b);if("comment"==d)return d;null==c.align&&(c.align=!0);if(";"!=e&&":"!=e&&","!=e||"statement"!=c.type)if("{"==e)n(b,a.column(),"}");else if("["==e)n(b,a.column(),"]");else if("("==
  e)n(b,a.column(),")");else if("}"==e){for(;"statement"==c.type;)c=m(b);for("}"==c.type&&(c=m(b));"statement"==c.type;)c=m(b)}else e==c.type?m(b):A&&(("}"==c.type||"top"==c.type)&&";"!=e||"statement"==c.type&&"newstatement"==e)&&n(b,a.column(),"statement");else m(b);b.startOfLine=!1;return d},electricChars:"{}",lineComment:"#",fold:"brace"}});h.defineMIME("text/x-ttcn-cfg",{name:"ttcn-cfg",keywords:p("Yes No LogFile FileMask ConsoleMask AppendFile TimeStampFormat LogEventTypes SourceInfoFormat LogEntityName LogSourceInfo DiskFullAction LogFileNumber LogFileSize MatchingHints Detailed Compact SubCategories Stack Single None Seconds DateTime Time Stop Error Retry Delete TCPPort KillTimer NumHCs UnixSocketsEnabled LocalAddress"),
  fileNCtrlMaskOptions:p("TTCN_EXECUTOR TTCN_ERROR TTCN_WARNING TTCN_PORTEVENT TTCN_TIMEROP TTCN_VERDICTOP TTCN_DEFAULTOP TTCN_TESTCASE TTCN_ACTION TTCN_USER TTCN_FUNCTION TTCN_STATISTICS TTCN_PARALLEL TTCN_MATCHING TTCN_DEBUG EXECUTOR ERROR WARNING PORTEVENT TIMEROP VERDICTOP DEFAULTOP TESTCASE ACTION USER FUNCTION STATISTICS PARALLEL MATCHING DEBUG LOG_ALL LOG_NOTHING ACTION_UNQUALIFIED DEBUG_ENCDEC DEBUG_TESTPORT DEBUG_UNQUALIFIED DEFAULTOP_ACTIVATE DEFAULTOP_DEACTIVATE DEFAULTOP_EXIT DEFAULTOP_UNQUALIFIED ERROR_UNQUALIFIED EXECUTOR_COMPONENT EXECUTOR_CONFIGDATA EXECUTOR_EXTCOMMAND EXECUTOR_LOGOPTIONS EXECUTOR_RUNTIME EXECUTOR_UNQUALIFIED FUNCTION_RND FUNCTION_UNQUALIFIED MATCHING_DONE MATCHING_MCSUCCESS MATCHING_MCUNSUCC MATCHING_MMSUCCESS MATCHING_MMUNSUCC MATCHING_PCSUCCESS MATCHING_PCUNSUCC MATCHING_PMSUCCESS MATCHING_PMUNSUCC MATCHING_PROBLEM MATCHING_TIMEOUT MATCHING_UNQUALIFIED PARALLEL_PORTCONN PARALLEL_PORTMAP PARALLEL_PTC PARALLEL_UNQUALIFIED PORTEVENT_DUALRECV PORTEVENT_DUALSEND PORTEVENT_MCRECV PORTEVENT_MCSEND PORTEVENT_MMRECV PORTEVENT_MMSEND PORTEVENT_MQUEUE PORTEVENT_PCIN PORTEVENT_PCOUT PORTEVENT_PMIN PORTEVENT_PMOUT PORTEVENT_PQUEUE PORTEVENT_STATE PORTEVENT_UNQUALIFIED STATISTICS_UNQUALIFIED STATISTICS_VERDICT TESTCASE_FINISH TESTCASE_START TESTCASE_UNQUALIFIED TIMEROP_GUARD TIMEROP_READ TIMEROP_START TIMEROP_STOP TIMEROP_TIMEOUT TIMEROP_UNQUALIFIED USER_UNQUALIFIED VERDICTOP_FINAL VERDICTOP_GETVERDICT VERDICTOP_SETVERDICT VERDICTOP_UNQUALIFIED WARNING_UNQUALIFIED"),
  externalCommands:p("BeginControlPart EndControlPart BeginTestCase EndTestCase"),multiLineStrings:!0})});
  