mirror of https://github.com/requarks/wiki
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
1.1 KiB
1 line
1.1 KiB
ace.define("ace/mode/properties_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,i){"use strict";var o=e("../lib/oop"),r=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{token:"comment",regex:/[!#].*$/},{token:"keyword",regex:/[=:]$/},{token:"keyword",regex:/[=:]/,next:"value"},{token:"constant.language.escape",regex:/\\u[0-9a-fA-F]{4}|\\/},{defaultToken:"variable"}],value:[{regex:/\\$/,token:"string",next:"value"},{regex:/$/,token:"string",next:"start"},{token:"constant.language.escape",regex:/\\u[0-9a-fA-F]{4}|\\/},{defaultToken:"string"}]}};o.inherits(s,r),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,i){"use strict";var o=e("../lib/oop"),r=e("./text").Mode,s=e("./properties_highlight_rules").PropertiesHighlightRules,l=function(){this.HighlightRules=s,this.$behaviour=this.$defaultBehaviour};o.inherits(l,r),function(){this.$id="ace/mode/properties"}.call(l.prototype),t.Mode=l}); |