0) {\n\t\tsource += \"// ** \" + targetObj.name\t+ \"'s Scripts **\\n\"\n\t\tsource += scriptNames.collect(function(ea) {\n\t\t\treturn this.generateSourceForScript(baseObject, targetObj, ea)\n\t\t}, this).join('\\n\\n');\n\t}\n\n\tif (targetObj.attributeConnections) {\n\t\tsource += \"\\n\\n// ** \" + targetObj.name\t+ \"'s Connections **\\n\"\n\t\tsource += targetObj.attributeConnections.collect(function(ea) {\n\t\t\treturn this.generateSourceForConnection(baseObject, targetObj, ea)\n\t\t}, this).join('\\n');\n\t}\n\n\tif (targetObj.scriptSource && Object.isString(targetObj.scriptSource)) {\n\t\tsource += \"\\n\\n\";\n\t\tsource += this.generateSourceForProperty(\n\t\t\tbaseObject, targetObj, \"scriptSource\");\n\t}\n\n\treturn source\n}","funcProperties":{"__isSmartRef__":true,"id":122},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"121":{"this":{"__isSmartRef__":true,"id":66}},"122":{},"123":{"varMapping":{"__isSmartRef__":true,"id":124},"source":"function generateSourceForProperty(baseObject, targetObject, propertyName) {\n\tvar value = targetObject[propertyName];\n\treturn Strings.format('%s.'+ propertyName +'=%s;', \n\t\tthis.generateTargetCode(baseObject, targetObject),\t\n\t\tthis.generateSourceForValue(value))\n}","funcProperties":{"__isSmartRef__":true,"id":125},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"124":{"this":{"__isSmartRef__":true,"id":66}},"125":{},"126":{"varMapping":{"__isSmartRef__":true,"id":127},"source":"function generateSourceForScript(baseObject, targetObject, scriptName) {\n\tvar script =targetObject[scriptName].getOriginal();\n\treturn Strings.format('%s.addScript(%s);', \n\t\tthis.generateTargetCode(baseObject, targetObject) ,script)\n}","funcProperties":{"__isSmartRef__":true,"id":128},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"127":{"this":{"__isSmartRef__":true,"id":66}},"128":{},"129":{"varMapping":{"__isSmartRef__":true,"id":130},"source":"function generateSourceForValue(value) {\n\tif (Object.isString(value)) \n\t\treturn '\"' + value + '\"'\n\telse \n\t\treturn value\n}","funcProperties":{"__isSmartRef__":true,"id":131},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"130":{"this":{"__isSmartRef__":true,"id":66}},"131":{},"132":{"varMapping":{"__isSmartRef__":true,"id":133},"source":"function generateTargetCode(baseObject, targetObject) {\n\tvar name = targetObject.name;\n\tif (baseObject === targetObject) \n\t\treturn \"this\"\n\telse if (baseObject[name] === targetObject) \n\t\treturn \"this.\" + name\n\telse if (baseObject.testObject === targetObject) \n\t\treturn \"this.testObject\"\n\telse if (baseObject.get(name) === targetObject) \n\t\treturn 'this.get(\"' + name + '\")'\n\telse if (targetObject instanceof Morph) \n\t\treturn'$morph(\"' + name + '\")'\n\telse \n\t\treturn \"????\"\n}","funcProperties":{"__isSmartRef__":true,"id":134},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"133":{"this":{"__isSmartRef__":true,"id":66}},"134":{},"135":{"varMapping":{"__isSmartRef__":true,"id":136},"source":"function highlightSelectedObject(selection) {\n\tif (selection && selection.targetObj) showMorph(selection.targetObj)\n}","funcProperties":{"__isSmartRef__":true,"id":137},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"136":{"this":{"__isSmartRef__":true,"id":66}},"137":{},"138":{"varMapping":{"__isSmartRef__":true,"id":139},"source":"function listItemsForObj(obj, optPrefix) {\n\n\tvar listItems = [];\n\tvar prefix = optPrefix || \"\";\t\n\n\n\tif (obj.name) listItems.push({\n\t\tisListItem: true,\n\t\tstring: \"Object: \" + obj.name || \"unnamed\",\n\t\tvalue: {obj: obj, targetObj: obj}\t\n\t});\n\n\tif (obj.scriptSource && Object.isString(obj.scriptSource)) {\n\t\tlistItems.push({\n\t\t\tisListItem: true,\n\t\t\tstring: \" scriptSource\",\n\t\t\tvalue: {obj: obj, propertyName: 'scriptSource'}\t\n\t\t});\n\t}\n\n\tlistItems = listItems.concat(this.sortedScriptNamesOfObj(obj)\n\t\t.collect(function(name) { \n\t\t\treturn {isListItem: true, string: \" \" + name, value: {obj: obj, scriptName: name}}}))\n\n\t// BUG don't bind connections here...\n\tif (obj.attributeConnections)\n\t\t\tlistItems = listItems.concat(obj.attributeConnections.collect(function(ea) {\n\t\t\t\treturn {\n\t\t\t\t\tisListItem: true, \n\t\t\t\t\tstring: \" [\" + ea.getSourceAttrName() + \" -> \" + \n\t\t\t\t\t\tea.getTargetObj() + \".\" + ea.getTargetMethodName() + \"]\", \n\t\t\t\t\tvalue: {obj: obj, connection: ea }}\n\t\t\t}));\n\n\treturn listItems\n}","funcProperties":{"__isSmartRef__":true,"id":140},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"139":{"this":{"__isSmartRef__":true,"id":66}},"140":{},"141":{"varMapping":{"__isSmartRef__":true,"id":142},"source":"function removeTargetScript() {\n\tvar target = this.scriptList.selection.obj;\n\tif (!target) return;\n\n\n\tvar scriptName = this.scriptList.selection.scriptName; \n\tif (scriptName) {\n\t\tdelete target[scriptName];\n\t}\n\n\tvar connection = this.scriptList.selection.connection; \n\tif (connection)\n\t\tconnection.disconnect()\n\n\tthis.updateScriptList();\n}","funcProperties":{"__isSmartRef__":true,"id":143},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"142":{"this":{"__isSmartRef__":true,"id":66}},"143":{},"144":{"varMapping":{"__isSmartRef__":true,"id":145},"source":"function reset() {\n\t// this.reset()\n\tthis.bindMorphNames(\"targetName searchText scriptList scriptSource targetFound removeButton addButton closeButton\".split(\" \"))\n\tthis.target = null;\n\t// this.targetName.setTextString(\"nobody\");\n\t// this.scriptList.updateList([]);\n\tthis.scriptSource.setTextString(\"\");\n\t// this.searchText.setTextString(\"search for something\");\n}","funcProperties":{"__isSmartRef__":true,"id":146},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"145":{"this":{"__isSmartRef__":true,"id":66}},"146":{},"147":{"varMapping":{"__isSmartRef__":true,"id":148},"source":"function setSourceInPane(source, pane) {\n\tpane.setTextString(source);\n\tpane.owner.owner.scrollToTop();\n\n\tpane.highlightJavaScriptSyntax()\n}","funcProperties":{"__isSmartRef__":true,"id":149},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"148":{"this":{"__isSmartRef__":true,"id":66}},"149":{},"150":{"varMapping":{"__isSmartRef__":true,"id":151},"source":"function setTarget(obj) {\n\t// if (obj) alertOK(\"set target \" + obj.name)\n\tthis.target = obj\n\t// this.updateScriptList()\n\tif (!this.target) \n\t\tsource = 'no source';\n\telse \n\t\tsource = this.generateSourceForObject(this.target, this.target);\n\tthis.get('scriptSource').setTextString(source)\n\tthis.get('scriptSource').doitContext = this.target\n}","funcProperties":{"__isSmartRef__":true,"id":152},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"151":{"this":{"__isSmartRef__":true,"id":66}},"152":{},"153":{"varMapping":{"__isSmartRef__":true,"id":154},"source":"function setupConnections() {\n\t// this.setupConnections();\n\tconnect(this.targetName, 'textString', \n\t\tthis, 'target', \n\t\t{converter: function(n) { return $morph(n) }})\n\n\tconnect(this, 'target', \n\t\tthis.targetFound, 'setFill', \n\t\t{converter: function(obj) { return obj ? Color.green : Color.red}})\n\n\tconnect(this, 'target', this, 'setTarget')\n\n\tconnect(this.searchText, 'savedTextString', this, 'doSearch')\n}","funcProperties":{"__isSmartRef__":true,"id":155},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"154":{"this":{"__isSmartRef__":true,"id":66}},"155":{},"156":{"varMapping":{"__isSmartRef__":true,"id":157},"source":"function showTopLevelItems() {\n\tvar topLevelMorphs = this.world().submorphs.reject(function(morph){\n\t\treturn !morph.name;\n\t})\n\tvar morphNames = topLevelMorphs.pluck('name'),\n\t\titems = morphNames.collect(function(name) {\n\t\t\treturn [name, function() { $morph('targetName').setTextString(name) }]\n\t\t});\n\tMenuMorph.openAtHand(items, 'Select morph to edit')\n}","funcProperties":{"__isSmartRef__":true,"id":158},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"157":{"this":{"__isSmartRef__":true,"id":66}},"158":{},"159":{"varMapping":{"__isSmartRef__":true,"id":160},"source":"function sortedScriptNamesOfObj(obj) {\n\treturn Functions.own(obj)\n\t\t.select(function(name) { return obj[name].hasLivelyClosure })\n\t\t.sortBy(function(name) { return name.toLowerCase() });\n}","funcProperties":{"__isSmartRef__":true,"id":161},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"160":{"this":{"__isSmartRef__":true,"id":66}},"161":{},"162":{"varMapping":{"__isSmartRef__":true,"id":163},"source":"function updateScriptList() {\n\tthis.scriptList.updateList(this.allScriptListItems());\n\t// this.scriptList.selectLineAt(this.scriptList.selectedLineNo);\n\t// this.scriptSource.owner.owner.scrollToTop(); // demeter :-D\n}","funcProperties":{"__isSmartRef__":true,"id":164},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"163":{"this":{"__isSmartRef__":true,"id":66}},"164":{},"165":{"varMapping":{"__isSmartRef__":true,"id":166},"source":"function updateSourcePane(selection) { \n\tvar textMorph = this.scriptSource;\n\n\tif (!selection || !selection.obj) {\n\t\ttextMorph.setTextString(\"\");\n\t\treturn;\n\t}\n\n\tif (selection.targetObj) {\n\t\tthis.setSourceInPane(this.generateSourceForObject(\n\t\t\ttextMorph.getDoitContext(), selection.targetObj), textMorph);\n\t\treturn;\n\t}\n\n\tif (selection.connection) {\n\t\tthis.setSourceInPane(this.generateSourceForConnection(\n\t\t\ttextMorph.getDoitContext(),selection.obj,selection.connection), textMorph);\n\t\treturn;\n\t}\n\n\tif (selection.propertyName) {\n\t\tthis.setSourceInPane(this.generateSourceForProperty(\n\t\t\ttextMorph.getDoitContext(), selection.obj, selection.propertyName), textMorph);\n\t\treturn;\n\t}\n\n\tthis.setSourceInPane(\n\t\tthis.generateSourceForScript(textMorph.getDoitContext(),selection.obj, selection.scriptName), \n\t\ttextMorph)\n}","funcProperties":{"__isSmartRef__":true,"id":167},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"166":{"this":{"__isSmartRef__":true,"id":66}},"167":{},"168":{"submorphs":[{"__isSmartRef__":true,"id":169},{"__isSmartRef__":true,"id":178},{"__isSmartRef__":true,"id":215},{"__isSmartRef__":true,"id":240}],"scripts":[],"id":18206,"shape":{"__isSmartRef__":true,"id":266},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":277},"_Position":{"__isSmartRef__":true,"id":278},"eventsAreIgnored":true,"windowMorph":{"__isSmartRef__":true,"id":65},"label":{"__isSmartRef__":true,"id":169},"closeButton":{"__isSmartRef__":true,"id":178},"menuButton":{"__isSmartRef__":true,"id":215},"collapseButton":{"__isSmartRef__":true,"id":240},"priorExtent":{"__isSmartRef__":true,"id":279},"owner":{"__isSmartRef__":true,"id":65},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"169":{"submorphs":[],"scripts":[],"id":18207,"shape":{"__isSmartRef__":true,"id":170},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":173},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":174},"_MaxTextWidth":null,"_MaxTextHeight":22,"textChunks":[{"__isSmartRef__":true,"id":175}],"isLabel":true,"eventsAreIgnored":true,"_FontSize":10,"owner":{"__isSmartRef__":true,"id":168},"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":177},"__LivelyClassName__":"lively.morphic.Text"},"170":{"_Position":{"__isSmartRef__":true,"id":171},"_Extent":{"__isSmartRef__":true,"id":172},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":89},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"171":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"172":{"x":128,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"173":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"174":{"x":237.54045954045955,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"175":{"style":{"__isSmartRef__":true,"id":176},"morph":{"__isSmartRef__":true,"id":169},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"ScriptEditorPane","__LivelyClassName__":"lively.morphic.TextChunk"},"176":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"177":{"x":128,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"178":{"submorphs":[{"__isSmartRef__":true,"id":179}],"scripts":[],"id":18208,"shape":{"__isSmartRef__":true,"id":188},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":202},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":192},"lighterFill":{"__isSmartRef__":true,"id":203},"label":{"__isSmartRef__":true,"id":179},"owner":{"__isSmartRef__":true,"id":168},"layout":{"__isSmartRef__":true,"id":212},"attributeConnections":[{"__isSmartRef__":true,"id":213},{"__isSmartRef__":true,"id":214}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"179":{"submorphs":[],"scripts":[],"id":18209,"shape":{"__isSmartRef__":true,"id":180},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":183},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":184},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":185}],"owner":{"__isSmartRef__":true,"id":178},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":187},"__LivelyClassName__":"lively.morphic.Text"},"180":{"_Position":{"__isSmartRef__":true,"id":181},"_Extent":{"__isSmartRef__":true,"id":182},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":89},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"181":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"182":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"183":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"184":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"185":{"style":{"__isSmartRef__":true,"id":186},"morph":{"__isSmartRef__":true,"id":179},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk"},"186":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"187":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"188":{"_Position":{"__isSmartRef__":true,"id":189},"_Extent":{"__isSmartRef__":true,"id":190},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":191},"_Fill":{"__isSmartRef__":true,"id":192},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"189":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"190":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"191":{"r":0.8392156862745098,"g":0.8392156862745098,"b":0.8392156862745098,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"192":{"stops":[{"__isSmartRef__":true,"id":193},{"__isSmartRef__":true,"id":195},{"__isSmartRef__":true,"id":197},{"__isSmartRef__":true,"id":199}],"vector":{"__isSmartRef__":true,"id":201},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"193":{"offset":0,"color":{"__isSmartRef__":true,"id":194}},"194":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"195":{"offset":0.4,"color":{"__isSmartRef__":true,"id":196}},"196":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"197":{"offset":0.6,"color":{"__isSmartRef__":true,"id":198}},"198":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"199":{"offset":1,"color":{"__isSmartRef__":true,"id":200}},"200":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"201":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"202":{"x":583.0809190809191,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"203":{"stops":[{"__isSmartRef__":true,"id":204},{"__isSmartRef__":true,"id":206},{"__isSmartRef__":true,"id":208},{"__isSmartRef__":true,"id":210}],"vector":{"__isSmartRef__":true,"id":201},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"204":{"offset":0,"color":{"__isSmartRef__":true,"id":205}},"205":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"206":{"offset":0.4,"color":{"__isSmartRef__":true,"id":207}},"207":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"208":{"offset":0.6,"color":{"__isSmartRef__":true,"id":209}},"209":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"210":{"offset":1,"color":{"__isSmartRef__":true,"id":211}},"211":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"212":{"moveHorizontal":true},"213":{"sourceObj":{"__isSmartRef__":true,"id":178},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":65},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"214":{"sourceObj":{"__isSmartRef__":true,"id":178},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":65},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"215":{"submorphs":[{"__isSmartRef__":true,"id":216}],"scripts":[],"id":18210,"shape":{"__isSmartRef__":true,"id":225},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":228},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":192},"lighterFill":{"__isSmartRef__":true,"id":229},"label":{"__isSmartRef__":true,"id":216},"owner":{"__isSmartRef__":true,"id":168},"attributeConnections":[{"__isSmartRef__":true,"id":238},{"__isSmartRef__":true,"id":239}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"216":{"submorphs":[],"scripts":[],"id":18211,"shape":{"__isSmartRef__":true,"id":217},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":220},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":221},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":222}],"owner":{"__isSmartRef__":true,"id":215},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":224},"__LivelyClassName__":"lively.morphic.Text"},"217":{"_Position":{"__isSmartRef__":true,"id":218},"_Extent":{"__isSmartRef__":true,"id":219},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":89},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"218":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"219":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"220":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"221":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"222":{"style":{"__isSmartRef__":true,"id":223},"morph":{"__isSmartRef__":true,"id":216},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk"},"223":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"224":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"225":{"_Position":{"__isSmartRef__":true,"id":226},"_Extent":{"__isSmartRef__":true,"id":227},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":191},"_Fill":{"__isSmartRef__":true,"id":192},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"226":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"227":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"228":{"x":3,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"229":{"stops":[{"__isSmartRef__":true,"id":230},{"__isSmartRef__":true,"id":232},{"__isSmartRef__":true,"id":234},{"__isSmartRef__":true,"id":236}],"vector":{"__isSmartRef__":true,"id":201},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"230":{"offset":0,"color":{"__isSmartRef__":true,"id":231}},"231":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"232":{"offset":0.4,"color":{"__isSmartRef__":true,"id":233}},"233":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"234":{"offset":0.6,"color":{"__isSmartRef__":true,"id":235}},"235":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"236":{"offset":1,"color":{"__isSmartRef__":true,"id":237}},"237":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"238":{"sourceObj":{"__isSmartRef__":true,"id":215},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":65},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"239":{"sourceObj":{"__isSmartRef__":true,"id":215},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":65},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"240":{"submorphs":[{"__isSmartRef__":true,"id":241}],"scripts":[],"id":18212,"shape":{"__isSmartRef__":true,"id":250},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":253},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":192},"lighterFill":{"__isSmartRef__":true,"id":254},"label":{"__isSmartRef__":true,"id":241},"owner":{"__isSmartRef__":true,"id":168},"layout":{"__isSmartRef__":true,"id":263},"attributeConnections":[{"__isSmartRef__":true,"id":264},{"__isSmartRef__":true,"id":265}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"241":{"submorphs":[],"scripts":[],"id":18213,"shape":{"__isSmartRef__":true,"id":242},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":245},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":246},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":247}],"owner":{"__isSmartRef__":true,"id":240},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":249},"__LivelyClassName__":"lively.morphic.Text"},"242":{"_Position":{"__isSmartRef__":true,"id":243},"_Extent":{"__isSmartRef__":true,"id":244},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":89},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"243":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"244":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"245":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"246":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"247":{"style":{"__isSmartRef__":true,"id":248},"morph":{"__isSmartRef__":true,"id":241},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk"},"248":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"249":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"250":{"_Position":{"__isSmartRef__":true,"id":251},"_Extent":{"__isSmartRef__":true,"id":252},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":191},"_Fill":{"__isSmartRef__":true,"id":192},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"251":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"252":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"253":{"x":564.0809190809191,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"254":{"stops":[{"__isSmartRef__":true,"id":255},{"__isSmartRef__":true,"id":257},{"__isSmartRef__":true,"id":259},{"__isSmartRef__":true,"id":261}],"vector":{"__isSmartRef__":true,"id":201},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"255":{"offset":0,"color":{"__isSmartRef__":true,"id":256}},"256":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"257":{"offset":0.4,"color":{"__isSmartRef__":true,"id":258}},"258":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"259":{"offset":0.6,"color":{"__isSmartRef__":true,"id":260}},"260":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"261":{"offset":1,"color":{"__isSmartRef__":true,"id":262}},"262":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"263":{"moveHorizontal":true},"264":{"sourceObj":{"__isSmartRef__":true,"id":240},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":65},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"265":{"sourceObj":{"__isSmartRef__":true,"id":240},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":65},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"266":{"_Position":{"__isSmartRef__":true,"id":267},"_Extent":{"__isSmartRef__":true,"id":268},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":71},"_Fill":{"__isSmartRef__":true,"id":269},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"267":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"268":{"x":603.0809190809191,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"269":{"stops":[{"__isSmartRef__":true,"id":270},{"__isSmartRef__":true,"id":272},{"__isSmartRef__":true,"id":274}],"vector":{"__isSmartRef__":true,"id":276},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"270":{"offset":0,"color":{"__isSmartRef__":true,"id":271}},"271":{"r":0.7200000000000001,"g":0.7200000000000001,"b":0.7200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"272":{"offset":0.6,"color":{"__isSmartRef__":true,"id":273}},"273":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"274":{"offset":1,"color":{"__isSmartRef__":true,"id":275}},"275":{"r":0.7200000000000001,"g":0.7200000000000001,"b":0.7200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"276":{"x":0,"y":1,"width":0,"height":-1,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"277":{"resizeWidth":true,"adjustForNewBounds":true},"278":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"279":{"x":603.0809190809191,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"280":{"submorphs":[],"scripts":[],"id":452,"shape":{"__isSmartRef__":true,"id":281},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":286},"showsHalos":false,"name":"ResizeCorner","partsBinMetaInfo":{"__isSmartRef__":true,"id":287},"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"_Scale":1,"draggingEnabled":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":288},"originalTargetExtent":null,"owner":{"__isSmartRef__":true,"id":65},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":289},"__LivelyClassName__":"lively.morphic.Box"},"281":{"position":{"__isSmartRef__":true,"id":282},"_Extent":{"__isSmartRef__":true,"id":283},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":284},"_Fill":{"__isSmartRef__":true,"id":285},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"282":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"283":{"x":13,"y":15,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"284":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"285":{"r":0.258,"g":0.258,"b":0.258,"a":0.5,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"286":{"x":590.0809190809191,"y":403.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"287":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"288":{"x":239,"y":138,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"289":{"onDrag":{"__isSmartRef__":true,"id":290},"onDragEnd":{"__isSmartRef__":true,"id":297},"onDragStart":{"__isSmartRef__":true,"id":304}},"290":{"varMapping":{"__isSmartRef__":true,"id":291},"source":"function onDrag(evt) {\n\t// alert(\"onDrag\")\n\t\tvar moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n\t\tif (evt.isShiftDown()) {\n\t\t\tvar maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\t\t\tmoveDelta = pt(maxDelta, maxDelta);\n\t\t}\n\t\tthis.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n\t\tthis.align(this.bounds().bottomRight(), this.owner.getExtent())\n}","funcProperties":{"__isSmartRef__":true,"id":296},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"291":{"this":{"__isSmartRef__":true,"id":280},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":292}},"292":{"$super":{"__isSmartRef__":true,"id":293}},"293":{"varMapping":{"__isSmartRef__":true,"id":294},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":295},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"294":{"obj":{"__isSmartRef__":true,"id":280},"name":"onDrag"},"295":{},"296":{},"297":{"varMapping":{"__isSmartRef__":true,"id":298},"source":"function onDragEnd(evt) {\n\tthis.dragStartPoint = null;\n\tthis.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":303},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"298":{"this":{"__isSmartRef__":true,"id":280},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":299}},"299":{"$super":{"__isSmartRef__":true,"id":300}},"300":{"varMapping":{"__isSmartRef__":true,"id":301},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":302},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"301":{"obj":{"__isSmartRef__":true,"id":280},"name":"onDragEnd"},"302":{},"303":{},"304":{"varMapping":{"__isSmartRef__":true,"id":305},"source":"function onDragStart(evt) {\n\tthis.dragStartPoint = evt.mousePoint;\n\tthis.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":310},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"305":{"this":{"__isSmartRef__":true,"id":280},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":306}},"306":{"$super":{"__isSmartRef__":true,"id":307}},"307":{"varMapping":{"__isSmartRef__":true,"id":308},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":309},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"308":{"obj":{"__isSmartRef__":true,"id":280},"name":"onDragStart"},"309":{},"310":{},"311":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":312},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"312":{"x":603.0809190809191,"y":418.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"313":{"adjustForNewBounds":true},"314":{"x":96.99900099900105,"y":516,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"315":{"x":603.0809190809191,"y":418.00199800199795,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"316":{"x":0,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"317":{"x":392,"y":526,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"318":{"requiredModules":[],"partsSpaceName":"PartsBin/Tools/","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","comment":"Early version. Requires improvement.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"319":{"submorphs":[],"scripts":[],"id":66,"shape":{"__isSmartRef__":true,"id":320},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":324},"_MaxTextWidth":168,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":323},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":325},"textChunks":[{"__isSmartRef__":true,"id":326}],"charsReplaced":"some text","lastFindLoc":-9,"priorSelectionRange":[0,0],"prevScroll":[0,0],"_Scale":1,"owner":{"__isSmartRef__":true,"id":0},"priorExtent":{"__isSmartRef__":true,"id":328},"__LivelyClassName__":"lively.morphic.Text"},"320":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":321},"_Extent":{"__isSmartRef__":true,"id":322},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":323},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"321":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"322":{"x":168,"y":36,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"323":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"324":{"x":57,"y":317,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"325":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"326":{"style":{"__isSmartRef__":true,"id":327},"morph":{"__isSmartRef__":true,"id":319},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"normal list, works as expected","__LivelyClassName__":"lively.morphic.TextChunk"},"327":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"328":{"x":168,"y":36,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"329":{"submorphs":[],"scripts":[],"id":318,"shape":{"__isSmartRef__":true,"id":330},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":334},"_MaxTextWidth":168,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":333},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"Text2","partsBinMetaInfo":{"__isSmartRef__":true,"id":335},"textChunks":[{"__isSmartRef__":true,"id":336}],"charsReplaced":"normal list, works as expected","lastFindLoc":-30,"priorSelectionRange":[0,0],"prevScroll":[0,0],"_Scale":1,"priorExtent":{"__isSmartRef__":true,"id":338},"owner":{"__isSmartRef__":true,"id":0},"savedTextString":"this list sets its contents new when list item is selected. this seems not to work correctly.","__LivelyClassName__":"lively.morphic.Text"},"330":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":331},"_Extent":{"__isSmartRef__":true,"id":332},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":333},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"331":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"332":{"x":168,"y":72,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"333":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"334":{"x":241,"y":321,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"335":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"336":{"style":{"__isSmartRef__":true,"id":337},"morph":{"__isSmartRef__":true,"id":329},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"this list sets its contents new when list item is selected. this seems not to work correctly.","__LivelyClassName__":"lively.morphic.TextChunk"},"337":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"338":{"x":168,"y":72,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"339":{"submorphs":[],"scripts":[],"id":444,"shape":{"__isSmartRef__":true,"id":340},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":344},"_MaxTextWidth":39,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":343},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"ListSelection","partsBinMetaInfo":{"__isSmartRef__":true,"id":345},"textChunks":[{"__isSmartRef__":true,"id":346}],"charsReplaced":"this list sets its contents new when list item is selected. this seems not to work correctly.","lastFindLoc":-93,"priorSelectionRange":[0,1],"prevScroll":[0,0],"_Scale":1,"priorExtent":{"__isSmartRef__":true,"id":348},"savedTextString":"this list sets its contents new when list item is selected. this seems not to work correctly.","owner":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.Text"},"340":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":341},"_Extent":{"__isSmartRef__":true,"id":342},"_BorderWidth":1.332,"_BorderColor":{"__isSmartRef__":true,"id":343},"_BorderRadius":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"341":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"342":{"x":39,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"343":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"344":{"x":207,"y":163,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"345":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"346":{"style":{"__isSmartRef__":true,"id":347},"morph":{"__isSmartRef__":true,"id":339},"storedString":"2","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"347":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"348":{"x":39,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"349":{"submorphs":[],"scripts":[],"id":566,"shape":{"__isSmartRef__":true,"id":350},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":354},"_MaxTextWidth":59,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":353},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"label","partsBinMetaInfo":{"__isSmartRef__":true,"id":355},"textChunks":[{"__isSmartRef__":true,"id":356}],"charsReplaced":"normal list, works as expected","lastFindLoc":-30,"priorSelectionRange":[0,10],"prevScroll":[0,0],"_Scale":1,"priorExtent":{"__isSmartRef__":true,"id":358},"owner":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.Text"},"350":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":351},"_Extent":{"__isSmartRef__":true,"id":352},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":353},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"351":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"352":{"x":59,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"353":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"354":{"x":140,"y":160,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"355":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"356":{"style":{"__isSmartRef__":true,"id":357},"morph":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"selection:","__LivelyClassName__":"lively.morphic.TextChunk"},"357":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontSize":10,"__LivelyClassName__":"lively.morphic.TextEmphasis"},"358":{"x":59,"y":6,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"359":{"submorphs":[{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":396},{"__isSmartRef__":true,"id":407}],"scripts":[],"id":73,"shape":{"__isSmartRef__":true,"id":417},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":421},"showsHalos":false,"name":"TestClassRunner1","_Rotation":0,"__SourceModuleName__":"Global.lively.morphic.Core","partsBinMetaInfo":{"__isSmartRef__":true,"id":422},"_Scale":1,"owner":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":423},"__LivelyClassName__":"lively.morphic.Box"},"360":{"submorphs":[{"__isSmartRef__":true,"id":361}],"scripts":[],"id":45,"shape":{"__isSmartRef__":true,"id":371},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":385},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":374},"lighterFill":{"__isSmartRef__":true,"id":386},"label":{"__isSmartRef__":true,"id":361},"owner":{"__isSmartRef__":true,"id":359},"_Rotation":0,"showsHalos":false,"name":"runButton","attributeConnections":[{"__isSmartRef__":true,"id":395}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.Button"},"361":{"submorphs":[],"scripts":[],"id":46,"shape":{"__isSmartRef__":true,"id":362},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":false,"allowsInput":false,"_OverflowMode":"visible","_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":366},"_MaxTextWidth":null,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":365},"padding":{"__isSmartRef__":true,"id":367},"_Padding":{"__isSmartRef__":true,"id":367},"owner":{"__isSmartRef__":true,"id":360},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":368},"textChunks":[{"__isSmartRef__":true,"id":369}],"__LivelyClassName__":"lively.morphic.Text"},"362":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":363},"_Extent":{"__isSmartRef__":true,"id":364},"_BorderColor":{"__isSmartRef__":true,"id":365},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"363":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"364":{"x":57,"y":29,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"365":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"366":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"367":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"368":{"x":57,"y":29,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"369":{"style":{"__isSmartRef__":true,"id":370},"morph":{"__isSmartRef__":true,"id":361},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"run","__LivelyClassName__":"lively.morphic.TextChunk"},"370":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"371":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":372},"_Extent":{"__isSmartRef__":true,"id":373},"_Fill":{"__isSmartRef__":true,"id":374},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":384},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"372":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"373":{"x":57,"y":29,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"374":{"stops":[{"__isSmartRef__":true,"id":375},{"__isSmartRef__":true,"id":377},{"__isSmartRef__":true,"id":379},{"__isSmartRef__":true,"id":381}],"vector":{"__isSmartRef__":true,"id":383},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"375":{"offset":0,"color":{"__isSmartRef__":true,"id":376}},"376":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"377":{"offset":0.4,"color":{"__isSmartRef__":true,"id":378}},"378":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"379":{"offset":0.6,"color":{"__isSmartRef__":true,"id":380}},"380":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"381":{"offset":1,"color":{"__isSmartRef__":true,"id":382}},"382":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"383":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"384":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"385":{"x":10,"y":10,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"386":{"stops":[{"__isSmartRef__":true,"id":387},{"__isSmartRef__":true,"id":389},{"__isSmartRef__":true,"id":391},{"__isSmartRef__":true,"id":393}],"vector":{"__isSmartRef__":true,"id":383},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"387":{"offset":0,"color":{"__isSmartRef__":true,"id":388}},"388":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"389":{"offset":0.4,"color":{"__isSmartRef__":true,"id":390}},"390":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"391":{"offset":0.6,"color":{"__isSmartRef__":true,"id":392}},"392":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"393":{"offset":1,"color":{"__isSmartRef__":true,"id":394}},"394":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"395":{"sourceObj":{"__isSmartRef__":true,"id":360},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":359},"targetMethodName":"runTest","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"396":{"submorphs":[],"scripts":[],"id":76,"shape":{"__isSmartRef__":true,"id":397},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_OverflowMode":"scroll","_FontFamily":"Monaco","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":401},"_MaxTextWidth":451,"_MaxTextHeight":160,"textColor":{"__isSmartRef__":true,"id":365},"owner":{"__isSmartRef__":true,"id":359},"showsHalos":false,"name":"testResult","__SourceModuleName__":"Global.lively.morphic.TextCore","savedTextString":"module('lively.morphic.Tests').load()\nrunning lively.morphic.Tests.ImageTests\nthis.owner.runTest\n\nthis.owner.addScript(function runTest() {\n\tvar testName = this.get('testName').textString,\n\t\tklass = Class.forName(testName),\n\t\ttestCase = new klass();\n\tif (testCase == undefined) {\n\t\talert('no test found named ' + testName);\n\t\treturn;\n\t} else {\n\t\talert('run test ' + testName)\n\t}\n\ttestCase.runAll();\n\tthis.get('testResult').setTextString('result:' + testCase.result)\n})","padding":{"__isSmartRef__":true,"id":402},"layout":{"__isSmartRef__":true,"id":403},"_FontSize":10,"_Padding":{"__isSmartRef__":true,"id":402},"priorExtent":{"__isSmartRef__":true,"id":404},"textChunks":[{"__isSmartRef__":true,"id":405}],"priorSelectionRange":[395,395],"_ClipMode":"auto","__LivelyClassName__":"lively.morphic.Text"},"397":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":398},"_Extent":{"__isSmartRef__":true,"id":399},"_Fill":{"__isSmartRef__":true,"id":400},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":365},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"398":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"399":{"x":451,"y":160,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"400":{"r":0,"g":0.8,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"401":{"x":11,"y":48,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"402":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"403":{"resizeWidth":true,"resizeHeight":true},"404":{"x":451,"y":160,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"405":{"style":{"__isSmartRef__":true,"id":406},"morph":{"__isSmartRef__":true,"id":396},"storedString":"result:[TestResult Tests run: 8 -- Tests failed: 0 -- Time: 0.04s]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"406":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"407":{"submorphs":[],"scripts":[],"id":157,"shape":{"__isSmartRef__":true,"id":408},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":413},"_MaxTextWidth":366,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":412},"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.TextCore","owner":{"__isSmartRef__":true,"id":359},"_Rotation":0,"name":"testName","charsReplaced":"lively.morphic.Tests,","lastFindLoc":-21,"priorExtent":{"__isSmartRef__":true,"id":414},"textChunks":[{"__isSmartRef__":true,"id":415}],"priorSelectionRange":[0,40],"__LivelyClassName__":"lively.morphic.Text"},"408":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":409},"_Extent":{"__isSmartRef__":true,"id":410},"_Fill":{"__isSmartRef__":true,"id":411},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":412},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"409":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"410":{"x":366,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"411":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"412":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"413":{"x":102,"y":12,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"414":{"x":366,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"415":{"style":{"__isSmartRef__":true,"id":416},"morph":{"__isSmartRef__":true,"id":407},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"lively.morphic.Tests.ListMorphTests","__LivelyClassName__":"lively.morphic.TextChunk"},"416":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"417":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":418},"_Extent":{"__isSmartRef__":true,"id":419},"_Fill":{"__isSmartRef__":true,"id":420},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":365},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"418":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"419":{"x":479,"y":225,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"420":{"r":0.8,"g":0.8,"b":0.8,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"421":{"x":879,"y":352,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"422":{"partsSpaceName":"PartsBin/Testing/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Enter a class name of a TestCase in this test runner and run all its test methods.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"423":{"runTest":{"__isSmartRef__":true,"id":424}},"424":{"varMapping":{"__isSmartRef__":true,"id":425},"source":"function runTest() {\n\tvar testName = this.get('testName').textString,\n\t\tklass = Class.forName(testName),\n\t\ttestCase = new klass();\n\tif (testCase == undefined) {\n\t\talert('no test found named ' + testName);\n\t\treturn;\n\t} else {\n\t\talert('run test ' + testName)\n\t}\n\ttestCase.runAll();\n\tif (testCase.result.failed.length > 0) {\n\t\tthis.get('testResult').setFill(Color.red)\n\t\tvar msg = testCase.result.failed.collect(function(failed) {\n\t\t\treturn '' + failed + '\\n' + failed.err.stack\n\t\t}).join('\\n\\n')\n\tthis.get('testResult').setTextString(msg)\n\t} else {\n\t\tthis.get('testResult').setFill(Color.green)\n\t\tthis.get('testResult').setTextString('result:' + testCase.result)\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":426},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"425":{"this":{"__isSmartRef__":true,"id":359}},"426":{},"427":{"submorphs":[],"scripts":[],"id":1188,"shape":{"__isSmartRef__":true,"id":428},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":432},"_MaxTextWidth":584,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":431},"showsHalos":false,"_FontSize":16,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"issueDescription1","partsBinMetaInfo":{"__isSmartRef__":true,"id":433},"textChunks":[{"__isSmartRef__":true,"id":434},{"__isSmartRef__":true,"id":436},{"__isSmartRef__":true,"id":438}],"_ClipMode":"visible","priorExtent":{"__isSmartRef__":true,"id":440},"priorSelectionRange":[12,17],"charsReplaced":"the ","lastFindLoc":189,"prevScroll":[0,0],"owner":{"__isSmartRef__":true,"id":0},"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"428":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":429},"_Extent":{"__isSmartRef__":true,"id":430},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":431},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"429":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"430":{"x":584,"y":168,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"431":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"432":{"x":797,"y":52,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"433":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"434":{"style":{"__isSmartRef__":true,"id":435},"morph":{"__isSmartRef__":true,"id":427},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"This is now ","__LivelyClassName__":"lively.morphic.TextChunk"},"435":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"436":{"style":{"__isSmartRef__":true,"id":437},"morph":{"__isSmartRef__":true,"id":427},"storedString":"FIXED","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"437":{"__SourceModuleName__":"Global.lively.morphic.TextCore","color":{"__isSmartRef__":true,"id":400},"fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"438":{"style":{"__isSmartRef__":true,"id":439},"morph":{"__isSmartRef__":true,"id":427},"storedString":". The reason was that when the selection in the list was set the selectionIndex property was not yet updated. Since setting the selection triggered a list rerendering (and highlighting the actual lsit index happened even before setting the selection so it was done at this point already), this rerendering highlighted the list at the wrong place.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"439":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"440":{"x":584,"y":168,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"441":{"submorphs":[],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":442},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":false,"registeredForMouseEvents":true,"_world":{"__isSmartRef__":true,"id":0},"_Position":{"__isSmartRef__":true,"id":446},"owner":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","carriesGrabbedMorphs":false,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.HandMorph"},"442":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":443},"_Extent":{"__isSmartRef__":true,"id":444},"_Fill":{"__isSmartRef__":true,"id":445},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"443":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"444":{"x":2,"y":2,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"445":{"r":0.8,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"446":{"x":2012,"y":853,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"447":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":448},"_Extent":{"__isSmartRef__":true,"id":449},"_Fill":{"__isSmartRef__":true,"id":450},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"448":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"449":{"x":2800,"y":2900,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"450":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"451":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"452":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"453":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"savedWorldAsURL","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"visitNewPageAfterSaveAs","converter":null,"converterString":null,"updater":null,"updaterString":"function ($upd, v) { \n\t\t\t\tif (v && v.toString() !== URL.source.toString()) {\n\t\t\t\t\t$upd(v) \n\t\t\t\t}\n\t\t\t}","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"isSimplifiedRegistry":true}}]]>