Files
ic10emu/www/src/js/editor/ic10_mode.ts
Rachel d0cc415ca5 bit the bullet and make the ts move
(I want types sooo bad...)
2024-03-30 21:43:51 -07:00

23 lines
588 B
TypeScript

"use strict";
var oop = require("ace-code/src/lib/oop");
var TextMode = require("ace-code/src/mode/text").Mode;
var FoldMode = require("ace-code/src/mode/folding/cstyle").FoldMode;
var IC10HighlightRules = require("./ic10_highlight_rules.js").IC10HighlightRules;
var Mode = function() {
this.HighlightRules = IC10HighlightRules;
this.foldingRules = new FoldMode();
}
oop.inherits(Mode, TextMode);
(function() {
// configure comment start/end characters
this.lineCommentStart = ["#"];
this.$id = "ace/mode/ic10";
}).call(Mode.prototype);
exports.Mode = Mode;