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

29 lines
750 B
JavaScript
Executable File

/* caption: Visualforce; extensions: component,page,vfp */
define(function(require, exports, module) {
"use strict";
var oop = require("../lib/oop");
var HtmlMode = require("./html").Mode;
var VisualforceHighlightRules = require("./visualforce_highlight_rules").VisualforceHighlightRules;
var XmlBehaviour = require("./behaviour/xml").XmlBehaviour;
var HtmlFoldMode = require("./folding/html").FoldMode;
function VisualforceMode() {
HtmlMode.call(this);
this.HighlightRules = VisualforceHighlightRules;
this.foldingRules = new HtmlFoldMode();
this.$behaviour = new XmlBehaviour();
}
oop.inherits(VisualforceMode, HtmlMode);
VisualforceMode.prototype.emmetConfig = {
profile: "xhtml"
};
exports.Mode = VisualforceMode;
});