Ver Fonte

Adds missing qsp vars

slonon há 4 anos atrás
pai
commit
1f16bf3549
1 ficheiros alterados com 9 adições e 5 exclusões
  1. 9 5
      qsrc/syntaxes/QSP.tmLanguage.json

+ 9 - 5
qsrc/syntaxes/QSP.tmLanguage.json

@@ -614,7 +614,7 @@
 			"patterns": [
 				{
 					"name": "entity.name.function.display.qsp",
-					"match": "((\\s?[*]|^[*]|\\b)(?i:(cl(r|s|a)|clear|(n|p)l|p))|\\b(?i:(view|msg)))\\b"
+					"match": "((\\s?[*]|^[*]|\\b)(?i:(cl(r|s|a)|clear|(n|p)l|p))|\\b(?i:(view|msg|menu|cmdcl(ea)?r)|showacts|showinput|showobjs|showstat))\\b"
 				},
 				{
 					"name": "entity.name.function.include.qsp",
@@ -634,15 +634,19 @@
 				},
 				{
 					"name": "entity.name.function.language.main.qsp",
-					"match": "((\\b|\\s?[$])(?i:(func|dyneval|input|iif|qspver))|\\b(?i:(loc|dynamic|close(\\sall)?|play|(s|l)et)))\\b"
+					"match": "((\\b|\\s?[$])(?i:(func|dyneval|input|iif|qspver))|\\b(?i:(settimer|loc|dynamic|close(\\sall)?|play|(s|l)et)))\\b"
 				},
 				{
 					"name": "entity.name.function.language.object.qsp",
-					"match": "\\b(?i:(countobj|delobj|addobj))\\b"
+					"match": "\\b(?i:(countobj|delobj|addobj|unsel(ect)?|killobj))\\b"
+				},
+				{
+					"name": "entity.name.function.language.game.qsp",
+					"match": "\\b(?i:(opengame|openqst|addqst|killqst|savegame|refint))\\b"
 				},
 				{
 					"name": "entity.name.function.language.other.qsp",
-					"match": "\\b(?i:(rgb|isplay|msecscount|delact|killvar))\\b"
+					"match": "\\b(?i:(rgb|isplay|msecscount|killvar))\\b"
 				}
 			]
 		},
@@ -650,7 +654,7 @@
 			"patterns": [
 				{
 					"name": "variable.language.object.qsp",
-					"match": "(\\b|\\s?[$])(?i:(desc|user_text|usrtxt|maintxt|stattxt|curloc|selobj|selact|curact|getobj|result))\\b"
+					"match": "(\\b|\\s?[$])(?i:(desc|user_text|usrtxt|maintxt|stattxt|curloc|selobj|getobj|delact|selact|curact|result))\\b"
 				},
 				{
 					"name": "variable.language.args.qsp",