big-moving.ru/api/soft/ajaxorg/lib/ace/mode/space.js

23 lines
674 B
JavaScript
Raw Normal View History

2022-06-24 15:29:23 +05:00
define(function(require, exports, module) {
"use strict";
var oop = require("../lib/oop");
// defines the parent mode
var TextMode = require("./text").Mode;
var FoldMode = require("./folding/coffee").FoldMode;
// defines the language specific highlighters and folding rules
var SpaceHighlightRules = require("./space_highlight_rules").SpaceHighlightRules;
var Mode = function() {
// set everything up
this.HighlightRules = SpaceHighlightRules;
this.foldingRules = new FoldMode();
this.$behaviour = this.$defaultBehaviour;
};
oop.inherits(Mode, TextMode);
(function() {
this.$id = "ace/mode/space";
}).call(Mode.prototype);
exports.Mode = Mode;
});