-
... not a verbatim copy from wslib.) + SequenceableCollection { asAscii { var out = String.new; this.do { |item| out = out ++ (item.tryPerform(\asAscii) ?? ""); }; ^out } }
-
+ String { curlMsg { |path, options| var expr; expr = "curl % %".format( options ? "", this.quote ); path.notNil.if{ expr = expr + "-o %".format(path.quote); }; ^expr; } curl { |path, options, action, postOutput = true| var msg = this.curlM ...
-
... oup { ^Group.basicNew(server, nodeId); } isSynth { ^false } isGroup { ^true } asString { arg indent = 0; var str, indentString = (" " ! indent).join(""); str = indentString ++ "+ Group: %".format(nodeId); ^str } == { |other| ^(this.class == ...
-
... asSymbol]; if (synthDef.isNil) { synthDef = SynthDefStorage.synthDefDict[name.asString].tryPerform(\at, 0) ?? { synthDesc.tryPerform(\def) } }; // specs is a dict of controlspecs // we need to access it, so better having a void one if (spec ...
-
... VGPathSegment { ^false } getUnits { |default| ^default } interpretVal { ^this.asString.interpretVal } asSVGTransform { ^SVGTransform( this ); } } + String { asColor { |alpha = 1| var color; color = Color.newName( this ); if( color.notNil ) ...
-
... this.class.refreshDevices; vw = EZPopUpMenu( parent, bounds, label !? { label.asString ++ " " }); fillPopUp = { Platform.case( \osx, { vw.items = [ 'system default' -> { |vw| action.value( vw, nil ) } ] ++ devices.collect({ |device| device. ...
-
... anFocus_(false) .background_(Color.grey(0.5)) ), HLayout( atkText= StaticText().string_("atk:"), atkNumber= NumberBox().clipLo_(0).scroll_step_(0.05).fixedWidth_(55), relText= StaticText().string_("rel:"), relNumber= NumberBox().clipLo_(0). ...
-
... , file; this.deprecated( thisMethod ); if( File.isWesleyanBuild ) { file = File(String.scDir ++ "/SuperCollider.app/Contents/Resources/English.lproj/Credits.rtf","r"); out = file.readAllString.stripRTF.split( $\n )[2].split( $ )[0]; file.cl ...
-
... tic generation or disables the generation all together, defaults to `true`. - A string will specify the ISO-8859-1 file name to use in place of automatic generation. - `false` will disable including a ISO-8859-1 file name and only include t ...
-
... cument { getLine { var lineSize = 0, index = 0, actualLine ; var lineArr = this.string.split($\n) ; var incrementArr = lineArr.collect({|l| lineSize = lineSize+l.size+1}) ; while ({ incrementArr[index] <= this.selectionStart }, { index = in ...