lucene.js 422 B

12345678910111213141516171819
  1. define(function(require, exports, module) {
  2. 'use strict';
  3. var oop = require("../lib/oop");
  4. var TextMode = require("./text").Mode;
  5. var LuceneHighlightRules = require("./lucene_highlight_rules").LuceneHighlightRules;
  6. var Mode = function() {
  7. this.HighlightRules = LuceneHighlightRules;
  8. };
  9. oop.inherits(Mode, TextMode);
  10. (function() {
  11. this.$id = "ace/mode/lucene";
  12. }).call(Mode.prototype);
  13. exports.Mode = Mode;
  14. });