diff --git a/SuperCollider.tmbundle/Syntaxes/SuperCollider.tmLanguage b/SuperCollider.tmbundle/Syntaxes/SuperCollider.tmLanguage index dddfbde..fceda41 100644 --- a/SuperCollider.tmbundle/Syntaxes/SuperCollider.tmLanguage +++ b/SuperCollider.tmbundle/Syntaxes/SuperCollider.tmLanguage @@ -18,7 +18,7 @@ match - \b(arg|var|classvar|this|thisThread|thisMethod|thisFunction|true|false|inf|nil)\b + \b(arg|var|classvar|this|thisThread|thisMethod|thisFunction|thisProcess|true|false|inf|nil)\b name keyword.control.supercollider diff --git a/TextMate.sc b/TextMate.sc index e435bb0..7c45b66 100644 --- a/TextMate.sc +++ b/TextMate.sc @@ -22,8 +22,10 @@ SC3Controller { if(nodes.isEmpty) { node = OSCresponderNode(nil, '/sc3ctrl/cmd') { |t, r, msg| - msg[1].asString.interpretPrint; - { postToFront.() }.defer; + { + msg[1].asString.interpretPrint; + postToFront.(); + }.defer; }.add; nodes.add(node); @@ -48,7 +50,7 @@ SC3Controller { nodes.add(node); node = OSCresponderNode(nil, '/sc3ctrl/stop') { |t, r, msg| - thisProcess.stop; + thisProcess.stop; nil; }.add; nodes.add(node);