Skip to content

Commit 79776a6

Browse files
committed
Add syntax highlighting keywords for 2020-01 metamodel changes
1 parent c9eb002 commit 79776a6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ var enableMode = function (CodeMirror) {
2424
CodeMirror.defineMode("sysml", function (config) {
2525
return CodeMirror.getMode(config, {
2626
name: "clike",
27-
keywords: words("about abstract accept action activity allInstances any as assoc bind block by " +
28-
"comment connect decide def do else end entry exhibit exit first flow fork from hastype if import " +
27+
keywords: words("about abstract accept action activity allInstances any as assert assoc bind block by " +
28+
"comment connect constraint decide def do else end entry exhibit exit first flow fork from hastype if import " +
2929
"in inout instanceof interface is join link merge nonunique of ordered out package part perform port private " +
3030
"protected public redefines ref send specializes state stream subsets succession then to transition type value"),
31-
defKeywords: words("action activity assoc block def link interface package part port ref state transition type value"),
31+
defKeywords: words("action activity assoc block constraint def link interface package part port ref state transition type value"),
3232
typeFirstDefinitions: true,
3333
atoms: words("true false null"),
3434
number: /^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,

0 commit comments

Comments
 (0)