"use strict";

var oop = require("../lib/oop");
var TextMode = require("./text").Mode;
var GDResourceHighlightRules = require("./gdresource_highlight_rules").GDResourceHighlightRules;
var FoldMode = require("./folding/cstyle").FoldMode;

var Mode = function() {
    this.HighlightRules = GDResourceHighlightRules;
    this.foldingRules = new FoldMode();
};
oop.inherits(Mode, TextMode);

(function() {
    this.lineCommentStart = ";";
    this.$id = "ace/mode/gdresource";
}).call(Mode.prototype);

exports.Mode = Mode;