Lively Kernel canvas
//
DraftStyleCopier40true
Editabletexttruetruefalsetruetrue
false00.11
true
false
true
nullfalsetruenull
Workspacefalsenulltruefalse
Xfalsenulltrue
false
false
–falsenulltrue
false
falsenullfalsefalsenullnullnullnullfalse
nullnullnullnullnullnullnullnullnullnullnullnullnullnull
null0.2952895283235704null
Tada....20null
nullfalsetruenull
Localcode:initializer[doit]falsenulltruefalse
Xfalsenulltrue
false
false
–falsenulltrue
false
falsenullfalse
http://lively-kernel.org/repository/webwerkstatt/truetruetruetruetrue
truetrue
00.11
true
true
codebasefalsenulltruefalsetrue
localfalsenulltruefalsetrue
bootstrap.js(notparsed)falsetruefalsetrue0false
Localcodefalsetruefalsetrue0false208.000015null1nulltruetruetrue
00.11
true
null
null
null
nulltrue
true
localrequirements[doit]falsetruefalsetrue0false
initializer[doit]falsetruefalsetrue0false208.000015null1nulltruetruetrue
00.11
true
null
null
null
nulltrue
true
-----falsetruefalsetrue0false208.000015null
-1nullnulltruetruetrue
00.11
true
null
null
null
nulltrue
true
-----falsetruefalsetrue0false208.000015null
-1nullnulltruetruetrue
00.11
true
null
null
null
nulltrue
true
20null
//truetrue2000000
0.5
truetrue
00.11
true
true
20null
Addmodulefalsenulltruefalsetrue
Loadallfalsenulltruefalsetrue
LineNofalsenulltruefalsetrue
Refreshfalsenulltruefalsetrue
Evalonfalsenulltruefalsetrue
Sortfalsenulltruefalsetrue
Viewas...falsenulltruefalse
truetrue
falsenullnullnullnullfalse
$morph('DebugLog').setTextString('');withLayers([DebugLayer],function(){l=newTextListMorph(newRectangle(0,0,100,100),["a","b","c"],null,{fill:Color.blue,fontSize:14})l.openInWorld(this.getPosition().addPt(pt(-150,0)),"testList")}.bind(this))148
$morph('DebugLog').setTextString('');withLayers([DebugLayer],function(){item=newTextMorph(newRectangle(0,0,100,100),"Hello");item.setFontSize(16)item.beListItem();item.setFill(Color.red)item.openInWorld(this.getPosition().addPt(pt(-150,0)),"testItem")//item.setBounds(newRectangle(0,0,30,30))}.bind(this))1410
nullfalsetruenull
Widgets.js:TextListMorph:privatefalsenulltruefalse
Xfalsenulltrue
false
false
–falsenulltrue
false
falsenullfalse
http://lively-kernel.org/repository/webwerkstatt/truetruetruetruetrue
truetrue
00.11
true
true
codebasefalsenulltruefalsetrue
localfalsenulltruefalsetrue
bootstrap.js(notparsed)falsetruefalsetrue0false
Localcodefalsetruefalsetrue0false208.000015null-1nullnulltruetruetrue
00.11
true
null
null
null
nulltrue
true
-----falsetruefalsetrue0false208.000015null
-1nullnulltruetruetrue
00.11
true
null
null
null
nulltrue
true
-----falsetruefalsetrue0false208.000015null
-1nullnulltruetruetrue
00.11
true
null
null
null
nulltrue
true
-----falsetruefalsetrue0false208.000015null
-1nullnulltruetruetrue
00.11
true
null
null
null
nulltrue
true
20null
truetrue2000000
0.5
truetrue
00.11
true
true
20null
Addmodulefalsenulltruefalsetrue
Loadallfalsenulltruefalsetrue
LineNofalsenulltruefalsetrue
Refreshfalsenulltruefalsetrue
Evalonfalsenulltruefalsetrue
Sortfalsenulltruefalsetrue
Viewas...falsenulltruefalsetrue
truetrue
falsenullnullnullnullfalse
TextMorphsetHasKeyboardFocus[undefined]TextMorphremove[]TextMorphlineNumberSearch[function(line){returnline.testForIndex(stringIndex);}]TextMorphlineNumberForIndex[4]TextMorphlineForIndex[4]TextMorphensureTextString[]TextMorphensureRendered[]TextMorphgetCharBounds[4]TextMorphlineNumberSearch[function(line){returnline.testForIndex(stringIndex);}]TextMorphlineNumberForIndex[undefined]TextMorphlineForIndex[undefined]TextMorphcomposeLines[undefined,pt(4.0,1.6),9999,Helvetica16]TextMorphrenderText[pt(4.0,0.0),9999]TextMorphcompositionWidth[]TextMorphtextTopLeft[]TextMorphensureTextString[]TextMorphensureRendered[]TextMorphgetCharBounds[undefined]TextMorphfitWidth[]TextMorphfitText[]TextMorphresetRendering[]TextMorphlineNumberSearch[function(line){returnline.testForIndex(stringIndex);}]TextMorphlineNumberForIndex[4]TextMorphlineForIndex[4]TextMorphensureTextString[]TextMorphensureRendered[]TextMorphgetCharBounds[4]TextMorphlineNumberSearch[function(line){returnline.testForIndex(stringIndex);}]TextMorphlineNumberForIndex[undefined]TextMorphlineForIndex[undefined]TextMorphcomposeLines[undefined,pt(4.0,1.6),9999,Helvetica16]TextMorphrenderText[pt(4.0,0.0),9999]TextMorphcompositionWidth[]TextMorphtextTopLeft[]TextMorphensureTextString[]TextMorphensureRendered[]TextMorphgetCharBounds[undefined]TextMorphfitWidth[]TextMorphfitText[]TextMorphresetRendering[]TextMorphsetWrapStyle[None]TextMorphapplyStyle[[objectObject]]TextMorphapplyStyleDeferred[[objectObject]]TextMorphbeListItem[]TextMorphsetFontSize[16]TextMorphaddChangeClue[undefined]TextMorphinitializeTransientState[]TextMorphinitializeTextSelection[]TextMorphapplyStyle[[objectObject]]TextMorphresetRendering[]TextMorphapplyStyle[[objectObject]]TextMorphinitializePersistentState[aShape(lively.scene.Rectangle,rect(pt(0.0,0.0),pt(100.0,100.0)))]TextMorphinitialize[rect(pt(0.0,0.0),pt(100.0,100.0)),Hello]1052
ownFunctions=function(klass){returnFunctions.all(klass.prototype).select(function(ea){returnklass.prototype.hasOwnProperty(ea)})}TextMorph.prototype.setBoundsObject.extend(cop.create("DebugLayer"),{ignoreList:["bounds"],stackDepth:0,indentString:function(n){returnrange(0,this.stackDepth).collect(function(ea){return""}).join("")},log:function(s){withoutLayers([this],function(){varm=$morph('DebugLog');if(m&&m.log)m.log(s)})},logEnterMethod:function(obj,methodName,args){if(this.ignoreList.include(methodName))return;this.log(this.indentString()+obj.constructor.name+""+methodName+""+args)this.stackDepth++;},logLeaveMethod:function(obj,methodName,args){if(this.ignoreList.include(methodName))return;this.stackDepth--;//this.log(obj.constructor.name+""+methodName+""+args)}})$morph('DebugLog').addScript(functionlog(s){this.setTextString(s+'\n'+this.textString)});ingoreList=['constructor','bounds']ownFunctions(TextMorph)//Functions.all(TextMorph.prototype).reject(function(ea){returningoreList.include(ea)}).each(function(functionName){obj={};//DebugLayer.log("log"+functionName);obj[functionName]=function(proceed){varargs=$A(arguments);args.shift()DebugLayer.logEnterMethod(this,functionName,args)varresult=proceed.apply(this,args)DebugLayer.logLeaveMethod(this,functionName,result)returnresult};cop.create("DebugLayer").refineClass(TextMorph,obj)})1439
ownFunctions=function(klass){returnFunctions.all(klass.prototype).select(function(ea){returnklass.prototype.hasOwnProperty(ea)})}ownFunctions(TextMorph).lengthFunctions.all(TextMorph.prototype).lengthownFunctions(BoxMorph)this.hasOwnProperty10
Wikicontroltruetrue
range(0,10).collect(function(ea){return""}).join("")1
Hello16falsenulltruefalsetrue0
null82