Projekt

Obecné

Profil

Stáhnout (1.06 KB) Statistiky
| Větev: | Tag: | Revize:
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) {
2
"use strict";
3

    
4
var oop = require("../lib/oop");
5
var TextMode = require("./text").Mode;
6
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
7
var Behaviour = require("./behaviour").Behaviour;
8

    
9
var Mode = function() {
10
    this.HighlightRules = TextHighlightRules;
11
    this.$behaviour = new Behaviour();
12
};
13

    
14
oop.inherits(Mode, TextMode);
15

    
16
(function() {
17
    this.type = "text";
18
    this.getNextLineIndent = function(state, line, tab) {
19
        return '';
20
    };
21
    this.$id = "ace/mode/plain_text";
22
}).call(Mode.prototype);
23

    
24
exports.Mode = Mode;
25
});                (function() {
26
                    ace.require(["ace/mode/plain_text"], function(m) {
27
                        if (typeof module == "object" && typeof exports == "object" && module) {
28
                            module.exports = m;
29
                        }
30
                    });
31
                })();
32
            
(140-140/244)