mode-plain_text.js 1.1 KB

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