2014-07-14 01:41:16 +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-11-12 18:10:47 +00:00
|
|
|
|
|
|
|
var oop = require("../lib/oop");
|
|
|
|
var TextMode = require("./text").Mode;
|
|
|
|
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
|
|
|
|
var Behaviour = require("./behaviour").Behaviour;
|
|
|
|
|
|
|
|
var Mode = function() {
|
|
|
|
this.HighlightRules = TextHighlightRules;
|
|
|
|
this.$behaviour = new Behaviour();
|
|
|
|
};
|
|
|
|
|
|
|
|
oop.inherits(Mode, TextMode);
|
|
|
|
|
|
|
|
(function() {
|
|
|
|
this.type = "text";
|
|
|
|
this.getNextLineIndent = function(state, line, tab) {
|
|
|
|
return '';
|
|
|
|
};
|
2014-03-20 03:08:47 +00:00
|
|
|
this.$id = "ace/mode/plain_text";
|
2013-11-12 18:10:47 +00:00
|
|
|
}).call(Mode.prototype);
|
|
|
|
|
|
|
|
exports.Mode = Mode;
|
2014-07-14 01:41:16 +00:00
|
|
|
});
|