overleaf/services/web/public/js/ace/mode/lucene.js
2014-02-12 10:23:40 +00:00

16 lines
No EOL
428 B
JavaScript
Executable file

define(function(require, exports, module) {
'use strict';
var oop = require("../lib/oop");
var TextMode = require("./text").Mode;
var Tokenizer = require("../tokenizer").Tokenizer;
var LuceneHighlightRules = require("./lucene_highlight_rules").LuceneHighlightRules;
var Mode = function() {
this.$tokenizer = new Tokenizer(new LuceneHighlightRules().getRules());
};
oop.inherits(Mode, TextMode);
exports.Mode = Mode;
});