define(“ace/mode/textile”,,function(a,b,c){“use strict”;var d=a(“../lib/oop”),e=a(“./text”).Mode,f=a(“../tokenizer”).Tokenizer,g=a(“./textile_highlight_rules”).TextileHighlightRules,h=a(“./matching_brace_outdent”).MatchingBraceOutdent,i=function(){this.$tokenizer=new f((new g).getRules()),this.$outdent=new h};d.inherits(i,e),function(){this.getNextLineIndent=function(a,b,c){return a==“intag”?c:“”},this.checkOutdent=function(a,b,c){return this.$outdent.checkOutdent(b,c)},this.autoOutdent=function(a,b,c){this.$outdent.autoOutdent(b,c)}}.call(i.prototype),b.Mode=i}),define(“ace/mode/textile_highlight_rules”,,function(a,b,c){“use strict”;var d=a(“../lib/oop”),e=a(“./text_highlight_rules”).TextHighlightRules,f=function(){this.$rules={start:[{token:function(a){return a.match(/^hd$/)?“markup.heading.”+a.charAt(1):“markup.heading”},regex:“h1|h2|h3|h4|h5|h6|bq|p|bc|pre”,next:“blocktag”},{token:“keyword”,regex:“+|[#]+”},{token:“text”,regex:“.+”}],blocktag:[{token:“keyword”,regex:“\. ”,next:“start”},{token:“keyword”,regex:“\(”,next:“blocktagproperties”}],blocktagproperties:[{token:“keyword”,regex:“\)”,next:“blocktag”},{token:“string”,regex:“+”},{token:“keyword”,regex:“#”}]}};d.inherits(f,e),b.TextileHighlightRules=f}),define(“ace/mode/matching_brace_outdent”,,function(a,b,c){“use strict”;var d=a(“../range”).Range,e=function(){};(function(){this.checkOutdent=function(a,b){return/^s+$/.test(a)?/^s*}/.test(b):!1},this.autoOutdent=function(a,b){var c=a.getLine(b),e=c.match(/^(s*})/);if(!e)return 0;var f=e.length,g=a.findMatchingBracket({row:b,column:f});if(!g||g.row==b)return 0;var h=this.$getIndent(a.getLine(g.row));a.replace(new d(b,0,b,f-1),h)},this.$getIndent=function(a){var b=a.match(/^(s+)/);return b?b:“”}}).call(e.prototype),b.MatchingBraceOutdent=e})