overleaf/services/web/public/js/ace/mode/lucene.js

16 lines
428 B
JavaScript
Raw Normal View History

2014-02-12 05:23:40 -05:00
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;
});