123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- {
- "scopeName": "source.qsrc",
- "fileTypes": [
- "qsrc",
- "qsp-txt",
- "txt-qsp"
- ],
- "name": "QSP",
- "patterns": [
- {
- "name": "constant.character.LISP",
- "match": "^(#)\\s?.+$"
- },
- {
- "name": "constant.character.LISP",
- "match": "\\b\\d+\\b"
- },
- {
- "name": "variable.parameter.url.css",
- "match": "^-{1,2}\\S.*?\\S-{1,2}$"
- },
- {
- "name": "variable.parameter.url.css",
- "match": "\\b(?i:([$]dyneval|[$]user_text|[$]usrtxt|[$]maintxt|[$]stattxt|[$]func|[$]curloc|[$]selobj|[$]selact|[$]curact|[$]getobj|[$]mid|[$](u|l)case|[$]trim|[$]replace|[$]str|[$]loc|[$]strfind))\\b"
- },
- {
- "name": "variable.parameter.url.css",
- "match": "\\b(?i:(dyneval|input|user_text|usrtxt|iif|rgb|isplay|msecscount|desc|maintxt|stattxt|qspver|func|curloc|selobj|no|and|mod|selact|curact|arrsize|arrpos|countobj|getobj|led|mid|(u|l)case|trim|replace|instr|isnum|val|str|loc|or|max|min|r(a)?nd|(arr|str)comp|str(find|pos)))\\b"
- },
- {
- "name": "keyword.control.at-rule.charset.css",
- "match": "\\b[$](?i:(counter|ongload|ongsave|onnewloc|onactsel|onobjsel|onobjadd|onobjdel|usercom|fname|backimage|args|result))\\b"
- },
- {
- "name": "support.function.LISP",
- "match": "\\b(?i:(act|exit|killvar|cla|\\*?clr|\\*?clear|gs|xgt|gt|goto|gosub|\\[|\\]|xgoto|if|else|elseif|end|jump|\\*|&|\\*?(n|p)l))\\b"
- },
- {
- "name": "entity.other.attribute-name.class.css",
- "match": "^(:)[^'\"]*$\n?"
- },
- {
- "name": "keyword.control.at-rule.charset.css",
- "match": "\\b(?i:(counter|ongload|ongsave|onnewloc|onactsel|onobjsel|onobjadd|onobjdel|usercom|fname|backimage|args|result))\\b"
- },
- {
- "name": "keyword.control.at-rule.charset.css",
- "match": "\\b(?i:(nosave|disablescroll|disablesubex|debug|usehtml|(b|f|l)color|fsize))\\b"
- },
- {
- "name": "string.quoted.single.qsp",
- "begin": "'",
- "end": "'",
- "patterns": [
- {
- "name": "string.interpolated.qsp",
- "begin": "<<",
- "end": ">>",
- "patterns": [
- {
- "include": "$self"
- }
- ]
- }
- ]
- },
- {
- "name": "string.quoted.double.qsp",
- "begin": "\"",
- "end": "\"",
- "patterns": [
- {
- "name": "string.interpolated.qsp",
- "begin": "<<",
- "end": ">>",
- "patterns": [
- {
- "include": "$self"
- }
- ]
- }
- ]
- },
- {
- "folds": [
- {
- "type": "comment"
- },
- {
- "type": "if_statement",
- "start": {
- "type": [
- "elif_clause",
- "else_clause"
- ]
- },
- "end": "end"
- }
- ]
- },
- {
- "name": "support.function.LISP",
- "match": "(?i:(,|\\[|\\]|\\(|\\)|\\{|\\}|&|\\+|=|-|(<|>)=?|=?(<|>)))"
- },
- {
- "name": "comment.block.exclamation.qsp",
- "begin": "!{",
- "end": "}!$"
- },
- {
- "name": "comment.line.exclamation.qsp",
- "begin": "^!.*",
- "end": "$"
- },
- {
- "name": "comment.line.exclamation.qsp",
- "begin": "^\\s+!.*",
- "end": "$"
- }
- ]
- }
|