From: Eugene Petkevich Date: Thu, 11 Jan 2024 17:59:31 +0000 (+0100) Subject: reformat tabs into spaces X-Git-Url: https://git.zuelum.org/?a=commitdiff_plain;h=071bafc407be10adc295bdebc6fcd41e1998ae71;p=scprojects.git reformat tabs into spaces --- diff --git a/extensions/classes/globaldict.sc b/extensions/classes/globaldict.sc index b758973..eb40d4c 100644 --- a/extensions/classes/globaldict.sc +++ b/extensions/classes/globaldict.sc @@ -5,15 +5,15 @@ GlobalDict { } *removeAll { - this.all.clear; - this.all.makeEmpty; - } + this.all.clear; + this.all.makeEmpty; + } *at { arg key; ^this.all.at(key) - } + } *put { arg key, value; ^this.all.put(key, value) - } + } } \ No newline at end of file diff --git a/extensions/classes/patutils.sc b/extensions/classes/patutils.sc index c00a1a4..6eec0d4 100644 --- a/extensions/classes/patutils.sc +++ b/extensions/classes/patutils.sc @@ -6,14 +6,14 @@ tempSource = source; this.source = GlobalDict.at(keyName); GlobalDict.put(keyName, tempSource); - } { + } { switch (newPattern, \fbs, { newPattern = Pseq([1, Pseq([Rest(1)], inf)]) }, \s, { newPattern = Rest(1) } ); GlobalDict.put(keyName, source); this.source = newPattern; - } + } ^this } }