mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Add .sc as a SuperCollider file extension
This commit is contained in:
19
samples/SuperCollider/WarpPreset.sc
Normal file
19
samples/SuperCollider/WarpPreset.sc
Normal file
@@ -0,0 +1,19 @@
|
||||
WarpPreset {
|
||||
*new {|path|
|
||||
if(path.notNil) {
|
||||
^Object.readArchive(path);
|
||||
};
|
||||
|
||||
^super.new.init();
|
||||
}
|
||||
|
||||
init {
|
||||
|
||||
}
|
||||
|
||||
save {
|
||||
Dialog.savePanel({|path|
|
||||
this.writeArchive(path);
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user