| 1 | ace.define("ace/mode/plain_text",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/text_highlight_rules","ace/mode/behaviour"], function(require, exports, module){"use strict"; |
| 2 | var oop = require("../lib/oop"); |
| 3 | var TextMode = require("./text").Mode; |
| 4 | var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules; |
| 5 | var Behaviour = require("./behaviour").Behaviour; |
| 6 | var Mode = function () { |
| 7 | this.HighlightRules = TextHighlightRules; |
| 8 | this.$behaviour = new Behaviour(); |
| 9 | }; |
| 10 | oop.inherits(Mode, TextMode); |
| 11 | (function () { |
| 12 | this.type = "text"; |
| 13 | this.getNextLineIndent = function (state, line, tab) { |
| 14 | return ''; |
| 15 | }; |
| 16 | this.$id = "ace/mode/plain_text"; |
| 17 | }).call(Mode.prototype); |
| 18 | exports.Mode = Mode; |
| 19 | |
| 20 | }); (function() { |
| 21 | ace.require(["ace/mode/plain_text"], function(m) { |
| 22 | if (typeof module == "object" && typeof exports == "object" && module) { |
| 23 | module.exports = m; |
| 24 | } |
| 25 | }); |
| 26 | })(); |
| 27 |