1(function(a){if(typeof exports=="object"&&typeof module=="object")a(require("../../lib/codemirror"));else if(typeof define=="function"&&define.amd)define(["../../lib/codemirror"],a);else a(CodeMirror)})(function(a){"use strict";a.defineMode("troff",function(){var a={};function b(b){if(b.eatSpace())return null;var c=b.sol();var d=b.next();if(d==="\\"){if(b.match("fB")||b.match("fR")||b.match("fI")||b.match("u")||b.match("d")||b.match("%")||b.match("&")){return"string"}if(b.match("m[")){b.skipTo("]");b.next();return"string"}if(b.match("s+")||b.match("s-")){b.eatWhile(/[\d-]/);return"string"}if(b.match("(")||b.match("*(")){b.eatWhile(/[\w-]/);return"string"}return"string"}if(c&&(d==="."||d==="'")){if(b.eat("\\")&&b.eat('"')){b.skipToEnd();return"comment"}}if(c&&d==="."){if(b.match("B ")||b.match("I ")||b.match("R ")){return"attribute"}if(b.match("TH ")||b.match("SH ")||b.match("SS ")||b.match("HP ")){b.skipToEnd();return"quote"}if(b.match(/[A-Z]/)&&b.match(/[A-Z]/)||b.match(/[a-z]/)&&b.match(/[a-z]/)){return"attribute"}}b.eatWhile(/[\w-]/);var e=b.current();return a.hasOwnProperty(e)?a[e]:null}function c(a,c){return(c.tokens[0]||b)(a,c)}return{startState:function(){return{tokens:[]}},token:function(a,b){return c(a,b)}}});a.defineMIME("text/troff","troff");a.defineMIME("text/x-troff","troff");a.defineMIME("application/x-troff","troff")});
2//# sourceMappingURL=troff.min.js.map