Skip to content

Commit d8aa145

Browse files
committed
ST6RI-808 Updated the syntax highlighting configuration.
1 parent 0ca67d4 commit d8aa145

9 files changed

Lines changed: 53 additions & 61 deletions

File tree

org.omg.sysml.jupyter.jupyterlab/src/main/mode.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,17 @@ export function defineSysMLv2Mode(): void {
4040
keywords: [
4141
"about", "abstract", "accept", "action", "actor", "after", "alias", "all", "allocate", "allocation",
4242
"analysis", "and", "as", "assert", "assign", "assume", "at", "attribute", "bind", "binding", "by",
43-
"calc", "case", "comment", "concern", "connect", "connection", "constraint", "decide", "def", "default",
44-
"defined", "dependency", "derived", "do", "doc", "else", "end", "entry", "enum", "event", "exhibit",
45-
"exit", "expose", "filter", "first", "flow", "for", "fork", "frame", "from", "hastype", "if", "implies",
46-
"import", "in", "include", "individual", "inout", "interface", "istype", "item", "join", "language",
47-
"library", "locale", "loop", "merge", "message", "meta", "metadata", "nonunique", "not", "objective",
48-
"occurrence", "of", "or", "ordered", "out", "package", "parallel", "part", "perform", "port", "private",
49-
"protected", "public", "readonly", "redefines", "ref", "references", "render", "rendering", "rep",
50-
"require", "requirement", "return", "satisfy", "send", "snapshot", "specializes", "stakeholder",
51-
"standard", "state", "subject", "subsets", "succession", "terminate", "then", "timeslice", "to",
52-
"transition", "until", "use", "variant", "variation", "verification", "verify", "via", "view",
53-
"viewpoint", "when", "while", "xor"
43+
"calc", "case", "comment", "concern", "connect", "connection", "constraint", "crosses", "decide", "def",
44+
"default", "defined", "dependency", "derived", "do", "doc", "else", "end", "entry", "enum", "event",
45+
"exhibit", "exit", "expose", "filter", "first", "flow", "for", "fork", "frame", "from", "hastype", "if",
46+
"implies", "import", "in", "include", "individual", "inout", "interface", "istype", "item", "join",
47+
"language", "library", "locale", "loop", "merge", "message", "meta", "metadata", "nonunique", "not",
48+
"objective", "occurrence", "of", "or", "ordered", "out", "package", "parallel", "part", "perform",
49+
"port", "private", "protected", "public", "readonly", "redefines", "ref", "references", "render",
50+
"rendering", "rep", "require", "requirement", "return", "satisfy", "send", "snapshot", "specializes",
51+
"stakeholder", "standard", "state", "subject", "subsets", "succession", "terminate", "then",
52+
"timeslice", "to", "transition", "until", "use", "variant", "variation", "verification", "verify",
53+
"via", "view", "viewpoint", "when", "while", "xor"
5454
].reduce(f_wordify, {}),
5555
defKeywords: [
5656
"action", "allocation", "analysis", "attribute", "binding", "calc", "case", "comment", "concern",

org.omg.sysml.jupyter.kernel/src/main/resources/sysml/kernel.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,17 @@ var enableMode = function (CodeMirror) {
5252
keywords: words([
5353
"about", "abstract", "accept", "action", "actor", "after", "alias", "all", "allocate", "allocation",
5454
"analysis", "and", "as", "assert", "assign", "assume", "at", "attribute", "bind", "binding", "by",
55-
"calc", "case", "comment", "concern", "connect", "connection", "constraint", "decide", "def", "default",
56-
"defined", "dependency", "derived", "do", "doc", "else", "end", "entry", "enum", "event", "exhibit",
57-
"exit", "expose", "filter", "first", "flow", "for", "fork", "frame", "from", "hastype", "if", "implies",
58-
"import", "in", "include", "individual", "inout", "interface", "istype", "item", "join", "language",
59-
"library", "locale", "loop", "merge", "message", "meta", "metadata", "nonunique", "not", "objective",
60-
"occurrence", "of", "or", "ordered", "out", "package", "parallel", "part", "perform", "port", "private",
61-
"protected", "public", "readonly", "redefines", "ref", "references", "render", "rendering", "rep",
62-
"require", "requirement", "return", "satisfy", "send", "snapshot", "specializes", "stakeholder",
63-
"standard", "state", "subject", "subsets", "succession", "terminate", "then", "timeslice", "to",
64-
"transition", "until", "use", "variant", "variation", "verification", "verify", "via", "view",
65-
"viewpoint", "when", "while", "xor"
55+
"calc", "case", "comment", "concern", "connect", "connection", "constraint", "crosses", "decide", "def",
56+
"default", "defined", "dependency", "derived", "do", "doc", "else", "end", "entry", "enum", "event",
57+
"exhibit", "exit", "expose", "filter", "first", "flow", "for", "fork", "frame", "from", "hastype", "if",
58+
"implies", "import", "in", "include", "individual", "inout", "interface", "istype", "item", "join",
59+
"language", "library", "locale", "loop", "merge", "message", "meta", "metadata", "nonunique", "not",
60+
"objective", "occurrence", "of", "or", "ordered", "out", "package", "parallel", "part", "perform",
61+
"port", "private", "protected", "public", "readonly", "redefines", "ref", "references", "render",
62+
"rendering", "rep", "require", "requirement", "return", "satisfy", "send", "snapshot", "specializes",
63+
"stakeholder", "standard", "state", "subject", "subsets", "succession", "terminate", "then",
64+
"timeslice", "to", "transition", "until", "use", "variant", "variation", "verification", "verify",
65+
"via", "view", "viewpoint", "when", "while", "xor"
6666
]),
6767
defKeywords: words([
6868
"action", "allocation", "analysis", "attribute", "binding", "calc", "case", "comment", "concern",

sysml.library/.index.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -91824,15 +91824,13 @@
9182491824
"dispatchScope",
9182591825
"done",
9182691826
"enactedPerformances",
91827-
"endShot",
9182891827
"envelopingShapes",
9182991828
"immediatePredecessors",
9183091829
"immediateSuccessors",
9183191830
"incomingTransferSort",
9183291831
"incomingTransfers",
9183391832
"incomingTransfersToSelf",
9183491833
"innerSpaceDimension",
91835-
"innerSpaceOccurrences",
9183691834
"intersectionsOf",
9183791835
"involvingPerformances",
9183891836
"isClosed",
@@ -91862,7 +91860,6 @@
9186291860
"shorterOccurrence",
9186391861
"snapshotOf",
9186491862
"snapshots",
91865-
"spaceBoundary",
9186691863
"spaceBoundaryOf",
9186791864
"spaceEnclosedOccurrences",
9186891865
"spaceInterior",
@@ -91875,7 +91872,6 @@
9187591872
"spaceTimeEnclosedOccurrences",
9187691873
"spaceTimeEnclosedPoints",
9187791874
"start",
91878-
"startShot",
9187991875
"structuredSpaceBoundary",
9188091876
"subitems",
9188191877
"subobjects",
@@ -91981,15 +91977,13 @@
9198191977
"dispatchScope",
9198291978
"done",
9198391979
"enactedPerformances",
91984-
"endShot",
9198591980
"envelopingShapes",
9198691981
"immediatePredecessors",
9198791982
"immediateSuccessors",
9198891983
"incomingTransferSort",
9198991984
"incomingTransfers",
9199091985
"incomingTransfersToSelf",
9199191986
"innerSpaceDimension",
91992-
"innerSpaceOccurrences",
9199391987
"intersectionsOf",
9199491988
"involvingPerformances",
9199591989
"isClosed",
@@ -92019,7 +92013,6 @@
9201992013
"shorterOccurrence",
9202092014
"snapshotOf",
9202192015
"snapshots",
92022-
"spaceBoundary",
9202392016
"spaceBoundaryOf",
9202492017
"spaceEnclosedOccurrences",
9202592018
"spaceInterior",
@@ -92032,7 +92025,6 @@
9203292025
"spaceTimeEnclosedOccurrences",
9203392026
"spaceTimeEnclosedPoints",
9203492027
"start",
92035-
"startShot",
9203692028
"structuredSpaceBoundary",
9203792029
"subitems",
9203892030
"subobjects",
@@ -278125,5 +278117,5 @@
278125278117
"withoutOccurrences"
278126278118
]
278127278119
},
278128-
"checksum": "8cf0be3a1df8a8d2283cdfad699764833be17100d0e67a601615ab7158407bfc"
278120+
"checksum": "0a40f202d35e982fd6d75d0d5dfc65ea7e34520e9c6ad7460f5b6f73be004e00"
278129278121
}

tool-support/syntax-highlighting/jetbrains/KerML.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<option name="HAS_PARENS" value="true" />
1212
<option name="HAS_STRING_ESCAPES" value="true" />
1313
</options>
14-
<keywords keywords="about;abstract;alias;all;and;as;assoc;behavior;binding;bool;by;chains;class;classifier;comment;composite;conjugate;conjugates;conjugation;connector;datatype;default;dependency;derived;differences;disjoining;disjoint;doc;else;end;expr;false;feature;featured;featuring;filter;first;flow;for;from;function;hastype;if;implies;import;in;inout;interaction;intersects;inv;inverse;inverting;istype;language;library;locale;member;meta;metaclass;metadata;multiplicity;namespace;nonunique;not;null;of;or;ordered;out;package;portion;predicate;private;protected;public;readonly;redefines;redefinition;references;rep;return;specialization;specializes;standard;step;struct;subclassifier;subset;subsets;subtype;succession;then;to;true;type;typed;typing;unions;xor" ignore_case="false" />
15-
<keywords2 keywords="!=;!==;#;%;&amp;;*;**;+;-;-&gt;;..;.?;/;:;::;::&gt;;:=;:&gt;;:&gt;&gt;;&lt;;&lt;=;=;==;===;&gt;;&gt;=;?;??;@;@@;^;|;~" />
14+
<keywords keywords="about;abstract;alias;all;and;as;assoc;behavior;binding;bool;by;chains;class;classifier;comment;composite;conjugate;conjugates;conjugation;connector;crosses;datatype;default;dependency;derived;differences;disjoining;disjoint;doc;else;end;expr;false;feature;featured;featuring;filter;first;flow;for;from;function;hastype;if;implies;import;in;inout;interaction;intersects;inv;inverse;inverting;istype;language;library;locale;member;meta;metaclass;metadata;multiplicity;namespace;nonunique;not;null;of;or;ordered;out;package;portion;predicate;private;protected;public;readonly;redefines;redefinition;references;rep;return;specialization;specializes;standard;step;struct;subclassifier;subset;subsets;subtype;succession;then;to;true;type;typed;typing;unions;xor" ignore_case="false" />
15+
<keywords2 keywords="!=;!==;#;%;&amp;;*;**;+;-;-&gt;;..;.?;/;:;::;::&gt;;:=;:&gt;;:&gt;&gt;;&lt;;&lt;=;=;==;===;=&gt;;&gt;;&gt;=;?;??;@;@@;^;|;~" />
1616
</highlighting>
1717
<extensionMap>
1818
<mapping ext="kerml" />

tool-support/syntax-highlighting/jetbrains/SysML.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<option name="HAS_PARENS" value="true" />
1212
<option name="HAS_STRING_ESCAPES" value="true" />
1313
</options>
14-
<keywords keywords="about;abstract;accept;action;actor;after;alias;all;allocate;allocation;analysis;and;as;assert;assign;assume;at;attribute;bind;binding;by;calc;case;comment;concern;connect;connection;constraint;decide;def;default;defined;dependency;derived;do;doc;else;end;entry;enum;event;exhibit;exit;expose;false;filter;first;flow;for;fork;frame;from;hastype;if;implies;import;in;include;individual;inout;interface;istype;item;join;language;library;locale;loop;merge;message;meta;metadata;nonunique;not;null;objective;occurrence;of;or;ordered;out;package;parallel;part;perform;port;private;protected;public;readonly;redefines;ref;references;render;rendering;rep;require;requirement;return;satisfy;send;snapshot;specializes;stakeholder;standard;state;subject;subsets;succession;terminate;then;timeslice;to;transition;true;until;use;variant;variation;verification;verify;via;view;viewpoint;when;while;xor" ignore_case="false" />
15-
<keywords2 keywords="!=;!==;#;%;&amp;;*;**;+;-;-&gt;;..;.?;/;:;::;::&gt;;:=;:&gt;;:&gt;&gt;;&lt;;&lt;=;=;==;===;&gt;;&gt;=;?;??;@;@@;^;|;~" />
14+
<keywords keywords="about;abstract;accept;action;actor;after;alias;all;allocate;allocation;analysis;and;as;assert;assign;assume;at;attribute;bind;binding;by;calc;case;comment;concern;connect;connection;constraint;crosses;decide;def;default;defined;dependency;derived;do;doc;else;end;entry;enum;event;exhibit;exit;expose;false;filter;first;flow;for;fork;frame;from;hastype;if;implies;import;in;include;individual;inout;interface;istype;item;join;language;library;locale;loop;merge;message;meta;metadata;nonunique;not;null;objective;occurrence;of;or;ordered;out;package;parallel;part;perform;port;private;protected;public;readonly;redefines;ref;references;render;rendering;rep;require;requirement;return;satisfy;send;snapshot;specializes;stakeholder;standard;state;subject;subsets;succession;terminate;then;timeslice;to;transition;true;until;use;variant;variation;verification;verify;via;view;viewpoint;when;while;xor" ignore_case="false" />
15+
<keywords2 keywords="!=;!==;#;%;&amp;;*;**;+;-;-&gt;;..;.?;/;:;::;::&gt;;:=;:&gt;;:&gt;&gt;;&lt;;&lt;=;=;==;===;=&gt;;&gt;;&gt;=;?;??;@;@@;^;|;~" />
1616
</highlighting>
1717
<extensionMap>
1818
<mapping ext="sysml" />

tool-support/syntax-highlighting/jupyter/kernel.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,17 @@ var enableMode = function (CodeMirror) {
5252
keywords: words([
5353
"about", "abstract", "accept", "action", "actor", "after", "alias", "all", "allocate", "allocation",
5454
"analysis", "and", "as", "assert", "assign", "assume", "at", "attribute", "bind", "binding", "by",
55-
"calc", "case", "comment", "concern", "connect", "connection", "constraint", "decide", "def", "default",
56-
"defined", "dependency", "derived", "do", "doc", "else", "end", "entry", "enum", "event", "exhibit",
57-
"exit", "expose", "filter", "first", "flow", "for", "fork", "frame", "from", "hastype", "if", "implies",
58-
"import", "in", "include", "individual", "inout", "interface", "istype", "item", "join", "language",
59-
"library", "locale", "loop", "merge", "message", "meta", "metadata", "nonunique", "not", "objective",
60-
"occurrence", "of", "or", "ordered", "out", "package", "parallel", "part", "perform", "port", "private",
61-
"protected", "public", "readonly", "redefines", "ref", "references", "render", "rendering", "rep",
62-
"require", "requirement", "return", "satisfy", "send", "snapshot", "specializes", "stakeholder",
63-
"standard", "state", "subject", "subsets", "succession", "terminate", "then", "timeslice", "to",
64-
"transition", "until", "use", "variant", "variation", "verification", "verify", "via", "view",
65-
"viewpoint", "when", "while", "xor"
55+
"calc", "case", "comment", "concern", "connect", "connection", "constraint", "crosses", "decide", "def",
56+
"default", "defined", "dependency", "derived", "do", "doc", "else", "end", "entry", "enum", "event",
57+
"exhibit", "exit", "expose", "filter", "first", "flow", "for", "fork", "frame", "from", "hastype", "if",
58+
"implies", "import", "in", "include", "individual", "inout", "interface", "istype", "item", "join",
59+
"language", "library", "locale", "loop", "merge", "message", "meta", "metadata", "nonunique", "not",
60+
"objective", "occurrence", "of", "or", "ordered", "out", "package", "parallel", "part", "perform",
61+
"port", "private", "protected", "public", "readonly", "redefines", "ref", "references", "render",
62+
"rendering", "rep", "require", "requirement", "return", "satisfy", "send", "snapshot", "specializes",
63+
"stakeholder", "standard", "state", "subject", "subsets", "succession", "terminate", "then",
64+
"timeslice", "to", "transition", "until", "use", "variant", "variation", "verification", "verify",
65+
"via", "view", "viewpoint", "when", "while", "xor"
6666
]),
6767
defKeywords: words([
6868
"action", "allocation", "analysis", "attribute", "binding", "calc", "case", "comment", "concern",

tool-support/syntax-highlighting/jupyter/mode.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,17 @@ export function defineSysMLv2Mode(): void {
4040
keywords: [
4141
"about", "abstract", "accept", "action", "actor", "after", "alias", "all", "allocate", "allocation",
4242
"analysis", "and", "as", "assert", "assign", "assume", "at", "attribute", "bind", "binding", "by",
43-
"calc", "case", "comment", "concern", "connect", "connection", "constraint", "decide", "def", "default",
44-
"defined", "dependency", "derived", "do", "doc", "else", "end", "entry", "enum", "event", "exhibit",
45-
"exit", "expose", "filter", "first", "flow", "for", "fork", "frame", "from", "hastype", "if", "implies",
46-
"import", "in", "include", "individual", "inout", "interface", "istype", "item", "join", "language",
47-
"library", "locale", "loop", "merge", "message", "meta", "metadata", "nonunique", "not", "objective",
48-
"occurrence", "of", "or", "ordered", "out", "package", "parallel", "part", "perform", "port", "private",
49-
"protected", "public", "readonly", "redefines", "ref", "references", "render", "rendering", "rep",
50-
"require", "requirement", "return", "satisfy", "send", "snapshot", "specializes", "stakeholder",
51-
"standard", "state", "subject", "subsets", "succession", "terminate", "then", "timeslice", "to",
52-
"transition", "until", "use", "variant", "variation", "verification", "verify", "via", "view",
53-
"viewpoint", "when", "while", "xor"
43+
"calc", "case", "comment", "concern", "connect", "connection", "constraint", "crosses", "decide", "def",
44+
"default", "defined", "dependency", "derived", "do", "doc", "else", "end", "entry", "enum", "event",
45+
"exhibit", "exit", "expose", "filter", "first", "flow", "for", "fork", "frame", "from", "hastype", "if",
46+
"implies", "import", "in", "include", "individual", "inout", "interface", "istype", "item", "join",
47+
"language", "library", "locale", "loop", "merge", "message", "meta", "metadata", "nonunique", "not",
48+
"objective", "occurrence", "of", "or", "ordered", "out", "package", "parallel", "part", "perform",
49+
"port", "private", "protected", "public", "readonly", "redefines", "ref", "references", "render",
50+
"rendering", "rep", "require", "requirement", "return", "satisfy", "send", "snapshot", "specializes",
51+
"stakeholder", "standard", "state", "subject", "subsets", "succession", "terminate", "then",
52+
"timeslice", "to", "transition", "until", "use", "variant", "variation", "verification", "verify",
53+
"via", "view", "viewpoint", "when", "while", "xor"
5454
].reduce(f_wordify, {}),
5555
defKeywords: [
5656
"action", "allocation", "analysis", "attribute", "binding", "calc", "case", "comment", "concern",

0 commit comments

Comments
 (0)