aboutsummaryrefslogtreecommitdiffstats
path: root/library/ace/mode-lucene.js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-06-10 12:22:01 +0200
committerMario Vavti <mario@mariovavti.com>2016-06-10 12:22:01 +0200
commit86985b454f75ac7f87e0dfe94fd754d7cbb0bf09 (patch)
tree42094d12360158d96bf8149d1b7a4c25e5445430 /library/ace/mode-lucene.js
parent9d5d3a946817c1b1a9dc18dead85bc989e820564 (diff)
parentc55a7b5f362e62696ef7d44cc972cb46c2802646 (diff)
downloadvolse-hubzilla-86985b454f75ac7f87e0dfe94fd754d7cbb0bf09.tar.gz
volse-hubzilla-86985b454f75ac7f87e0dfe94fd754d7cbb0bf09.tar.bz2
volse-hubzilla-86985b454f75ac7f87e0dfe94fd754d7cbb0bf09.zip
Merge branch 'dev' into sabre32
Diffstat (limited to 'library/ace/mode-lucene.js')
-rw-r--r--library/ace/mode-lucene.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/ace/mode-lucene.js b/library/ace/mode-lucene.js
new file mode 100644
index 000000000..6b482d3c5
--- /dev/null
+++ b/library/ace/mode-lucene.js
@@ -0,0 +1 @@
+ace.define("ace/mode/lucene_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("../lib/lang"),s=e("./text_highlight_rules").TextHighlightRules,o=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+"}]}};r.inherits(o,s),t.LuceneHighlightRules=o}),ace.define("ace/mode/lucene",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/lucene_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./lucene_highlight_rules").LuceneHighlightRules,o=function(){this.HighlightRules=s};r.inherits(o,i),function(){this.$id="ace/mode/lucene"}.call(o.prototype),t.Mode=o}) \ No newline at end of file