diff --git a/docs/syntax/jedit/objeck.xml b/docs/syntax/jedit/objeck.xml index cafcf1b5db..3b97b3ce8e 100644 --- a/docs/syntax/jedit/objeck.xml +++ b/docs/syntax/jedit/objeck.xml @@ -75,6 +75,7 @@ if else do + within while select break diff --git a/docs/syntax/kate/objeck.xml b/docs/syntax/kate/objeck.xml index b5de62ccfb..351b866696 100644 --- a/docs/syntax/kate/objeck.xml +++ b/docs/syntax/kate/objeck.xml @@ -30,6 +30,7 @@ if else do + within while static select diff --git a/docs/syntax/notepadxx/objeck.xml b/docs/syntax/notepadxx/objeck.xml index ace8b8f256..73f6d34422 100644 --- a/docs/syntax/notepadxx/objeck.xml +++ b/docs/syntax/notepadxx/objeck.xml @@ -24,7 +24,7 @@ #~ ~# - and or xor virtual if else do while break continue use bundle native static public private class interface function method select other otherwise enum for each reverse label return leaving lambdas consts + and or within xor virtual if else do while break continue use bundle native static public private class interface function method select other otherwise enum for each reverse label return leaving lambdas consts Byte Int Parent implements from Float Char Bool Nil String true false diff --git a/docs/syntax/objeck-syntax.php b/docs/syntax/objeck-syntax.php index 98a4e7a5bf..29759eaec4 100644 --- a/docs/syntax/objeck-syntax.php +++ b/docs/syntax/objeck-syntax.php @@ -52,7 +52,7 @@ 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 'QUOTEMARKS' => array('"'), 'ESCAPE_CHAR' => '\\', - 'KEYWORDS' => array(1 => array('virtual', 'leaving', 'lambdas', 'if', 'else', 'do', 'while', 'use', 'bundle', 'native', 'break', 'continue', 'static', 'public', 'private', 'class', 'function', 'method', 'select', 'other', 'otherwise', 'consts', 'enum', 'for', 'each', 'reverse', 'label', 'return', 'from'), 2 => array('Byte', 'Int', 'Nil', 'Float', 'Char', 'Bool', 'String'), 3 => array('true', 'false') + 'KEYWORDS' => array(1 => array('virtual', 'within', 'leaving', 'lambdas', 'if', 'else', 'do', 'while', 'use', 'bundle', 'native', 'break', 'continue', 'static', 'public', 'private', 'class', 'function', 'method', 'select', 'other', 'otherwise', 'consts', 'enum', 'for', 'each', 'reverse', 'label', 'return', 'from'), 2 => array('Byte', 'Int', 'Nil', 'Float', 'Char', 'Bool', 'String'), 3 => array('true', 'false') ), 'SYMBOLS' => array( 1 => array( diff --git a/docs/syntax/objeck.lang b/docs/syntax/objeck.lang index 858bcb5ede..ebed29e907 100644 --- a/docs/syntax/objeck.lang +++ b/docs/syntax/objeck.lang @@ -140,6 +140,7 @@ if else do + within while break continue diff --git a/docs/syntax/sublime/objeck.sublime-syntax b/docs/syntax/sublime/objeck.sublime-syntax index 59a83a6655..c5929e366c 100644 --- a/docs/syntax/sublime/objeck.sublime-syntax +++ b/docs/syntax/sublime/objeck.sublime-syntax @@ -32,7 +32,7 @@ contexts: push: double_quoted_string # Keywords - - match: '\b(if|else|do|while|static|select|break|continue|other|otherwise|for|each|reverse|label|return|critical)\b' + - match: '\b(if|within|else|do|while|static|select|break|continue|other|otherwise|for|each|reverse|label|return|critical)\b' scope: keyword.control.objeck-obs - match: '\b(use|leaving|virtual|Parent|As|from|implements)\b' diff --git a/docs/syntax/textadept/objeck.lua b/docs/syntax/textadept/objeck.lua index 538ce81743..a1b112a145 100644 --- a/docs/syntax/textadept/objeck.lua +++ b/docs/syntax/textadept/objeck.lua @@ -14,7 +14,7 @@ lex:add_rule('whitespace', token(lexer.WHITESPACE, lexer.space^1)) lex:add_rule('keyword', token(lexer.KEYWORD, word_match{ 'class', 'method', 'function', 'public', 'abstract', 'private', 'static', 'native', 'virtual', 'Parent', 'As', 'from', 'implements', 'interface', 'enum', 'alias', 'consts', 'bundle', - 'use', 'leaving', 'if', 'else', 'do', 'while', 'select', 'break', 'continue', 'other', + 'use', 'within', 'leaving', 'if', 'else', 'do', 'while', 'select', 'break', 'continue', 'other', 'for', 'each', 'reverse', 'label', 'return', 'critical', 'New', 'and', 'or', 'xor', 'true', 'false'--, 'Nil' })) diff --git a/docs/syntax/vscode/syntaxes/objeck.tmLanguage.json b/docs/syntax/vscode/syntaxes/objeck.tmLanguage.json index 62f49ae948..27c4b98fed 100644 --- a/docs/syntax/vscode/syntaxes/objeck.tmLanguage.json +++ b/docs/syntax/vscode/syntaxes/objeck.tmLanguage.json @@ -96,7 +96,7 @@ "keywords": { "patterns": [ { - "match": "\\b(use|leaving|if|else|do|while|select|break|continue|other|otherwise|for|each|reverse|label|return|critical)\\b", + "match": "\\b(use|leaving|if|else|do|while|select|break|continue|within|other|otherwise|for|each|reverse|label|return|critical)\\b", "name": "keyword.control.objeck" }, {