c2b4975093d5885f2e8ff09c4fabe8f7.js 1.1 KB

123456789101112131415161718192021222324252627
  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. }); (function() {
  20. ace.require(["ace/mode/plain_text"], function(m) {
  21. if (typeof module == "object" && typeof exports == "object" && module) {
  22. module.exports = m;
  23. }
  24. });
  25. })();