{ "fileTypes": [ "a4d", "a4p" ], "foldingStartMarker": "(?x)\n\t\t(<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\\b.*?>\n\t\t|)\n\t\t|^\\s*<%(?!.*%>)\n\t\t|(^\\s*|<%\\s*)(?i:if|while|for\\ each|for|case\\ of|repeat|method|save\\ output)\\b\n\t\t)", "foldingStopMarker": "(?x)\n\t\t(\n\t\t|^(?!.*?\n\t\t|^\\s*%>\n\t\t|(^\\s*|<%\\s*)(?i:end\\ (if|while|for\\ each|for|case|method|save\\ output)|until)\\b\n\t\t)", "keyEquivalent": "^~A", "name": "HTML (Active4D)", "patterns": [ { "begin": "(<)([a-zA-Z0-9:]+)(?=[^>]*>)", "beginCaptures": { "1": { "name": "punctuation.definition.tag.html" }, "2": { "name": "entity.name.tag.html" } }, "end": "(>(<)/)(\\2)(>)", "endCaptures": { "1": { "name": "punctuation.definition.tag.html" }, "2": { "name": "meta.scope.between-tag-pair.html" }, "3": { "name": "entity.name.tag.html" }, "4": { "name": "punctuation.definition.tag.html" } }, "name": "meta.tag.any.html", "patterns": [ { "include": "#tag-stuff" } ] }, { "begin": "(<\\?)(xml)", "captures": { "1": { "name": "punctuation.definition.tag.xml.html" }, "2": { "name": "entity.name.tag.xml.html" } }, "end": "(\\?>)", "name": "meta.tag.preprocessor.xml.html", "patterns": [ { "include": "#tag-generic-attribute" }, { "include": "#string-double-quoted" }, { "include": "#string-single-quoted" } ] }, { "begin": "", "name": "comment.block.html", "patterns": [ { "match": "--", "name": "invalid.illegal.bad-comments-or-CDATA.html" } ] }, { "begin": "", "name": "meta.tag.sgml.html", "patterns": [ { "begin": "(DOCTYPE)", "captures": { "1": { "name": "entity.name.tag.doctype.html" } }, "end": "(?=>)", "name": "meta.tag.sgml.doctype.html", "patterns": [ { "match": "\"[^\">]*\"", "name": "string.quoted.double.doctype.identifiers-and-DTDs.html" } ] }, { "begin": "\\[CDATA\\[", "end": "]](?=>)", "name": "constant.other.inline-data.html" }, { "match": "(\\s*)(?!--|>)\\S(\\s*)", "name": "invalid.illegal.bad-comments-or-CDATA.html" } ] }, { "begin": "<%(?=%>)", "beginCaptures": { "0": { "name": "punctuation.section.embedded.active4d" } }, "end": "(%)>", "endCaptures": { "0": { "name": "punctuation.section.embedded.active4d" }, "1": { "name": "meta.scope.between-tag-pair.html" } }, "name": "meta.tag.processor.html", "patterns": [ { "include": "#embedded-code" } ] }, { "include": "#embedded-code" }, { "begin": "(?:^\\s+)?(<)((?i:style))\\b(?![^>]*/>)", "captures": { "1": { "name": "punctuation.definition.tag.html" }, "2": { "name": "entity.name.tag.style.html" }, "3": { "name": "punctuation.definition.tag.html" } }, "end": "()(?:\\s*\\n)?", "name": "source.css.embedded.html", "patterns": [ { "include": "#tag-stuff" }, { "begin": "(>)", "beginCaptures": { "1": { "name": "punctuation.definition.tag.html" } }, "end": "(?=]*/>)", "beginCaptures": { "1": { "name": "punctuation.definition.tag.html" }, "2": { "name": "entity.name.tag.script.html" } }, "end": "(?<=)(?:\\s*\\n)?", "endCaptures": { "1": { "name": "entity.name.tag.script.html" }, "2": { "name": "punctuation.definition.tag.html" } }, "name": "source.js.embedded.html", "patterns": [ { "include": "#tag-stuff" }, { "begin": "(?)", "captures": { "1": { "name": "punctuation.definition.tag.html" } }, "end": "()", "name": "meta.tag.structure.any.html", "patterns": [ { "include": "#tag-stuff" } ] }, { "begin": "()", "name": "meta.tag.block.any.html", "patterns": [ { "include": "#tag-stuff" } ] }, { "begin": "()", "name": "meta.tag.inline.any.html", "patterns": [ { "include": "#tag-stuff" } ] }, { "begin": "()", "name": "meta.tag.other.html", "patterns": [ { "include": "#tag-stuff" } ] }, { "include": "#entities" }, { "match": "<>", "name": "invalid.illegal.incomplete.html" }, { "match": "<(?=\\W)|>", "name": "invalid.illegal.bad-angle-bracket.html" } ], "repository": { "embedded-code": { "begin": "<%", "beginCaptures": { "0": { "name": "punctuation.section.embedded.active4d" } }, "end": "%>", "endCaptures": { "0": { "name": "punctuation.section.embedded.active4d" } }, "name": "source.active4d.embedded.html", "patterns": [ { "include": "source.active4d" } ] }, "embedded-js": { "patterns": [ { "include": "#string-double-quoted-js" }, { "include": "#string-single-quoted-js" }, { "include": "#embedded-code" } ] }, "entities": { "patterns": [ { "captures": { "1": { "name": "punctuation.definition.entity.html" }, "3": { "name": "punctuation.terminator.entity.html" } }, "match": "(&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)", "name": "constant.character.entity.html" }, { "match": "&", "name": "invalid.illegal.bad-ampersand.html" } ] }, "string-double-quoted": { "begin": "\"", "beginCaptures": { "0": { "name": "punctuation.definition.string.begin.html" } }, "end": "\"", "endCaptures": { "0": { "name": "punctuation.definition.string.end.html" } }, "name": "string.quoted.double.html", "patterns": [ { "include": "#embedded-code" }, { "include": "#entities" } ] }, "string-double-quoted-js": { "begin": "\"", "beginCaptures": { "0": { "name": "punctuation.definition.string.begin.js" } }, "end": "\"", "endCaptures": { "0": { "name": "punctuation.definition.string.end.js" } }, "name": "string.quoted.double.js", "patterns": [ { "include": "#embedded-code" } ] }, "string-single-quoted": { "begin": "'", "beginCaptures": { "0": { "name": "punctuation.definition.string.begin.html" } }, "end": "'", "endCaptures": { "0": { "name": "punctuation.definition.string.end.html" } }, "name": "string.quoted.single.html", "patterns": [ { "include": "#embedded-code" }, { "include": "#entities" } ] }, "string-single-quoted-js": { "begin": "'", "beginCaptures": { "0": { "name": "punctuation.definition.string.begin.js" } }, "end": "'", "endCaptures": { "0": { "name": "punctuation.definition.string.end.js" } }, "name": "string.quoted.single.js", "patterns": [ { "include": "#embedded-code" } ] }, "tag-generic-attribute": { "match": "\\b([a-zA-Z-:]+)", "name": "entity.other.attribute-name.html" }, "tag-id-attribute": { "begin": "\\b(id)\\b\\s*(=)", "captures": { "1": { "name": "entity.other.attribute-name.id.html" }, "2": { "name": "punctuation.separator.key-value.html" } }, "end": "(?<='|\")", "name": "meta.attribute-with-value.id.html", "patterns": [ { "begin": "\"", "beginCaptures": { "0": { "name": "punctuation.definition.string.begin.html" } }, "contentName": "meta.toc-list.id.html", "end": "\"", "endCaptures": { "0": { "name": "punctuation.definition.string.end.html" } }, "name": "string.quoted.double.html", "patterns": [ { "include": "#embedded-code" }, { "include": "#entities" } ] }, { "begin": "'", "beginCaptures": { "0": { "name": "punctuation.definition.string.begin.html" } }, "contentName": "meta.toc-list.id.html", "end": "'", "endCaptures": { "0": { "name": "punctuation.definition.string.end.html" } }, "name": "string.quoted.single.html", "patterns": [ { "include": "#embedded-code" }, { "include": "#entities" } ] } ] }, "tag-stuff": { "patterns": [ { "include": "#tag-id-attribute" }, { "include": "#tag-generic-attribute" }, { "include": "#string-double-quoted" }, { "include": "#string-single-quoted" }, { "include": "#embedded-code" } ] } }, "scopeName": "text.html.strict.active4d", "uuid": "E666209C-4477-4D83-8B49-9463DFBACD9F" }