2023-01-16 22:26:34 +00:00
|
|
|
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";
|
2013-12-30 15:00:16 +00:00
|
|
|
var oop = require("../lib/oop");
|
|
|
|
var TextMode = require("./text").Mode;
|
|
|
|
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
|
|
|
|
var Behaviour = require("./behaviour").Behaviour;
|
2023-01-16 22:26:34 +00:00
|
|
|
var Mode = function () {
|
2013-12-30 15:00:16 +00:00
|
|
|
this.HighlightRules = TextHighlightRules;
|
|
|
|
this.$behaviour = new Behaviour();
|
|
|
|
};
|
|
|
|
oop.inherits(Mode, TextMode);
|
2023-01-16 22:26:34 +00:00
|
|
|
(function () {
|
2013-12-30 15:00:16 +00:00
|
|
|
this.type = "text";
|
2023-01-16 22:26:34 +00:00
|
|
|
this.getNextLineIndent = function (state, line, tab) {
|
2013-12-30 15:00:16 +00:00
|
|
|
return '';
|
|
|
|
};
|
|
|
|
this.$id = "ace/mode/plain_text";
|
|
|
|
}).call(Mode.prototype);
|
|
|
|
exports.Mode = Mode;
|
2023-01-16 22:26:34 +00:00
|
|
|
|
2020-04-14 12:14:48 +00:00
|
|
|
}); (function() {
|
|
|
|
ace.require(["ace/mode/plain_text"], function(m) {
|
|
|
|
if (typeof module == "object" && typeof exports == "object" && module) {
|
|
|
|
module.exports = m;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
})();
|
|
|
|
|