diff options
author | hubzilla <git@macgirvin.com> | 2016-06-10 20:03:08 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-10 20:03:08 +1000 |
commit | beb55235c68feadabe3b647ebe14ae2cab94a2f8 (patch) | |
tree | 8a6d552f8658dd64e361e462b78734138624955b /library/ace/mode-properties.js | |
parent | cf415a4312f3a926c3b080fb49042752441f23b4 (diff) | |
parent | 7a242f829fac2b434726c2bbdca5dbf658404c76 (diff) | |
download | volse-hubzilla-beb55235c68feadabe3b647ebe14ae2cab94a2f8.tar.gz volse-hubzilla-beb55235c68feadabe3b647ebe14ae2cab94a2f8.tar.bz2 volse-hubzilla-beb55235c68feadabe3b647ebe14ae2cab94a2f8.zip |
Merge pull request #410 from anaqreon/wiki
Wiki module: first iteration
Diffstat (limited to 'library/ace/mode-properties.js')
-rw-r--r-- | library/ace/mode-properties.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/ace/mode-properties.js b/library/ace/mode-properties.js new file mode 100644 index 000000000..bccfa478e --- /dev/null +++ b/library/ace/mode-properties.js @@ -0,0 +1 @@ +ace.define("ace/mode/properties_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){var e=/\\u[0-9a-fA-F]{4}|\\/;this.$rules={start:[{token:"comment",regex:/[!#].*$/},{token:"keyword",regex:/[=:]$/},{token:"keyword",regex:/[=:]/,next:"value"},{token:"constant.language.escape",regex:e},{defaultToken:"variable"}],value:[{regex:/\\$/,token:"string",next:"value"},{regex:/$/,token:"string",next:"start"},{token:"constant.language.escape",regex:e},{defaultToken:"string"}]}};r.inherits(s,i),t.PropertiesHighlightRules=s}),ace.define("ace/mode/properties",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/properties_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./properties_highlight_rules").PropertiesHighlightRules,o=function(){this.HighlightRules=s};r.inherits(o,i),function(){this.$id="ace/mode/properties"}.call(o.prototype),t.Mode=o})
\ No newline at end of file |