ace-code-editor
Version:
Ajax.org Code Editor is a full featured source code highlighting editor that powers the Cloud9 IDE
24 lines (19 loc) • 556 B
JavaScript
define(function(require, exports, module) {
;
var oop = require("../lib/oop");
var HtmlMode = require("./html").Mode;
var LuaMode = require("./lua").Mode;
var LuaPageHighlightRules = require("./luapage_highlight_rules").LuaPageHighlightRules;
var Mode = function() {
HtmlMode.call(this);
this.HighlightRules = LuaPageHighlightRules;
this.createModeDelegates({
"lua-": LuaMode
});
};
oop.inherits(Mode, HtmlMode);
(function() {
this.$id = "ace/mode/luapage";
}).call(Mode.prototype);
exports.Mode = Mode;
});