define("ace/mode/textile_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,i){"use strict";function n(){this.$rules={start:[{token:function(e){return"h"==e.charAt(0)?"markup.heading."+e.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:"[a-zA-Z0-9\\-_]+"},{token:"keyword",regex:"#"}]}}var o=e("../lib/oop"),e=e("./text_highlight_rules").TextHighlightRules;o.inherits(n,e),t.TextileHighlightRules=n}),define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(e,t,i){"use strict";function n(){}var o=e("../range").Range;(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var i=e.getLine(t).match(/^(\s*\})/);if(!i)return 0;var n=i[1].length,i=e.findMatchingBracket({row:t,column:n});if(!i||i.row==t)return 0;i=this.$getIndent(e.getLine(i.row));e.replace(new o(t,0,t,n-1),i)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(n.prototype),t.MatchingBraceOutdent=n}),define("ace/mode/textile",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/textile_highlight_rules","ace/mode/matching_brace_outdent"],function(e,t,i){"use strict";function n(){this.HighlightRules=u,this.$outdent=new h,this.$behaviour=this.$defaultBehaviour}var o=e("../lib/oop"),r=e("./text").Mode,u=e("./textile_highlight_rules").TextileHighlightRules,h=e("./matching_brace_outdent").MatchingBraceOutdent;o.inherits(n,r),function(){this.type="text",this.getNextLineIndent=function(e,t,i){return"intag"==e?i:""},this.checkOutdent=function(e,t,i){return this.$outdent.checkOutdent(t,i)},this.autoOutdent=function(e,t,i){this.$outdent.autoOutdent(t,i)},this.$id="ace/mode/textile"}.call(n.prototype),t.Mode=n}),window.require(["ace/mode/textile"],function(e){"object"==typeof module&&"object"==typeof exports&&module&&(module.exports=e)});