Sha256: 19fcbce4761ccf9c9a688b3d8f95cab31207bb49bdac71246a281bcbaad437a4
Contents?: true
Size: 1.18 KB
Versions: 4
Compression:
Stored size: 1.18 KB
Contents
ace.define("ace/mode/lucene_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules"],function(r,e,m){"use strict";var o=r("../lib/oop");var l=r("../lib/lang");var T=r("./text_highlight_rules").TextHighlightRules;var L=function(){this.$rules={"start":[{token:"constant.character.negation",regex:"[\\-]"},{token:"constant.character.interro",regex:"[\\?]"},{token:"constant.character.asterisk",regex:"[\\*]"},{token:'constant.character.proximity',regex:'~[0-9]+\\b'},{token:'keyword.operator',regex:'(?:AND|OR|NOT)\\b'},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"keyword",regex:"[\\S]+:"},{token:"string",regex:'".*?"'},{token:"text",regex:"\\s+"}]};};o.inherits(L,T);e.LuceneHighlightRules=L;});ace.define("ace/mode/lucene",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/lucene_highlight_rules"],function(r,e,m){'use strict';var o=r("../lib/oop");var T=r("./text").Mode;var L=r("./lucene_highlight_rules").LuceneHighlightRules;var M=function(){this.HighlightRules=L;this.$behaviour=this.$defaultBehaviour;};o.inherits(M,T);(function(){this.$id="ace/mode/lucene";}).call(M.prototype);e.Mode=M;});
Version data entries
4 entries across 4 versions & 2 rubygems