{"id":0,"registry":{"0":{"submorphs":[{"__isSmartRef__":true,"id":1},{"__isSmartRef__":true,"id":242},{"__isSmartRef__":true,"id":267},{"__isSmartRef__":true,"id":292},{"__isSmartRef__":true,"id":340}],"scripts":[],"shape":{"__isSmartRef__":true,"id":365},"eventHandler":{"__isSmartRef__":true,"id":366},"_ClipMode":"visible","derivationIds":[],"id":"4F14A671-699A-46D6-9645-FC070F041EB2","droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":367},"LK2":true,"targetMorph":{"__isSmartRef__":true,"id":1},"reframeHandle":{"__isSmartRef__":true,"id":340},"bottomReframeHandle":{"__isSmartRef__":true,"id":242},"rightReframeHandle":{"__isSmartRef__":true,"id":267},"titleBar":{"__isSmartRef__":true,"id":292},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"_PreviousBorderWidth":0,"partsBinMetaInfo":{"__isSmartRef__":true,"id":156},"name":"TextSelectionTool","highlighted":false,"isBeingDragged":false,"prevScroll":[0,0],"_Scale":1,"__serializedExpressions__":["_Position","contentOffset","prevDragPos"],"__LivelyClassName__":"lively.morphic.Window","__SourceModuleName__":"Global.lively.morphic.Widgets","withoutLayers":["Global.lively.morphic.GrabbingLayer"],"_Position":"lively.pt(0.0,0.0)","contentOffset":"lively.pt(4.0,22.0)","prevDragPos":"lively.pt(1224.4,539.0)"},"1":{"submorphs":[{"__isSmartRef__":true,"id":2},{"__isSmartRef__":true,"id":23},{"__isSmartRef__":true,"id":28},{"__isSmartRef__":true,"id":131}],"scripts":[{"__isSmartRef__":true,"id":154}],"id":"434B6844-7882-42C1-B9CB-238F42ADCFC5","shape":{"__isSmartRef__":true,"id":155},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"TextSelectionTool","partsBinMetaInfo":{"__isSmartRef__":true,"id":156},"eventHandler":{"__isSmartRef__":true,"id":186},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC"],"partTests":{"__isSmartRef__":true,"id":187},"_ClipMode":"visible","moved":true,"owner":{"__isSmartRef__":true,"id":0},"prevScroll":[0,0],"isBeingDragged":false,"_Rotation":0,"_Scale":1,"layout":{"__isSmartRef__":true,"id":192},"_PreviousBorderWidth":1,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":193},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","withoutLayers":["Global.RememberTextSelectionLayer"],"_Position":"lively.pt(4.0,22.0)"},"2":{"submorphs":[],"scripts":[],"id":"46E07733-7C4B-4FC4-9780-2EAE60B3EDA9","shape":{"__isSmartRef__":true,"id":3},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"TextSelectionRange","partsBinMetaInfo":{"__isSmartRef__":true,"id":4},"textChunks":[{"__isSmartRef__":true,"id":20}],"charsReplaced":"","lastFindLoc":1,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":22},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":1},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(679.0,0.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(44.0,-13.0)"},"3":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(57.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"4":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":5},{"__isSmartRef__":true,"id":7},{"__isSmartRef__":true,"id":9},{"__isSmartRef__":true,"id":11},{"__isSmartRef__":true,"id":13},{"__isSmartRef__":true,"id":15},{"__isSmartRef__":true,"id":17}],"lastModifiedDate":{"__isSmartRef__":true,"id":19},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"5":{"date":{"__isSmartRef__":true,"id":6},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"6":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"7":{"date":{"__isSmartRef__":true,"id":8},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"8":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"9":{"date":{"__isSmartRef__":true,"id":10},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"10":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"11":{"date":{"__isSmartRef__":true,"id":12},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"12":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"13":{"date":{"__isSmartRef__":true,"id":14},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)).  This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"14":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"15":{"date":{"__isSmartRef__":true,"id":16},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"16":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"17":{"date":{"__isSmartRef__":true,"id":18},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"18":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"19":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"20":{"style":{"__isSmartRef__":true,"id":21},"chunkOwner":{"__isSmartRef__":true,"id":2},"_id":"_14539","storedString":"[0, 10]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"21":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"22":{"morph":{"__isSmartRef__":true,"id":2},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"23":{"submorphs":[],"scripts":[],"id":"B129EE59-861B-4038-98BD-74A208D6659A","shape":{"__isSmartRef__":true,"id":24},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":13,"name":"TextMorphName","partsBinMetaInfo":{"__isSmartRef__":true,"id":4},"textChunks":[{"__isSmartRef__":true,"id":25}],"charsReplaced":"foo!?","lastFindLoc":5,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":27},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":1},"previousSelection":[7,9],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(1.0,0.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(227.0,-13.0)"},"24":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(682.7,24.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"25":{"style":{"__isSmartRef__":true,"id":26},"chunkOwner":{"__isSmartRef__":true,"id":23},"_id":"_14538","storedString":"<lively.morphic.Text#BF0DC... - CommitMessageText>","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"26":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"27":{"morph":{"__isSmartRef__":true,"id":23},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"28":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":29},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":30},{"__isSmartRef__":true,"id":32},{"__isSmartRef__":true,"id":34},{"__isSmartRef__":true,"id":36},{"__isSmartRef__":true,"id":38},{"__isSmartRef__":true,"id":40},{"__isSmartRef__":true,"id":42},{"__isSmartRef__":true,"id":44},{"__isSmartRef__":true,"id":46},{"__isSmartRef__":true,"id":48},{"__isSmartRef__":true,"id":50},{"__isSmartRef__":true,"id":52},{"__isSmartRef__":true,"id":54},{"__isSmartRef__":true,"id":56},{"__isSmartRef__":true,"id":58},{"__isSmartRef__":true,"id":60},{"__isSmartRef__":true,"id":62},{"__isSmartRef__":true,"id":64},{"__isSmartRef__":true,"id":66},{"__isSmartRef__":true,"id":68},{"__isSmartRef__":true,"id":70},{"__isSmartRef__":true,"id":72},{"__isSmartRef__":true,"id":74},{"__isSmartRef__":true,"id":76},{"__isSmartRef__":true,"id":78},{"__isSmartRef__":true,"id":80},{"__isSmartRef__":true,"id":82},{"__isSmartRef__":true,"id":84},{"__isSmartRef__":true,"id":86},{"__isSmartRef__":true,"id":88},{"__isSmartRef__":true,"id":90},{"__isSmartRef__":true,"id":92},{"__isSmartRef__":true,"id":94},{"__isSmartRef__":true,"id":96},{"__isSmartRef__":true,"id":98},{"__isSmartRef__":true,"id":100},{"__isSmartRef__":true,"id":102},{"__isSmartRef__":true,"id":104},{"__isSmartRef__":true,"id":106},{"__isSmartRef__":true,"id":108},{"__isSmartRef__":true,"id":110},{"__isSmartRef__":true,"id":112},{"__isSmartRef__":true,"id":114},{"__isSmartRef__":true,"id":116}],"eventHandler":{"__isSmartRef__":true,"id":118},"_ClipMode":"visible","derivationIds":[],"id":"F970B8FE-65F3-472A-BD4B-D2215BB8BD62","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":true,"_HandStyle":null,"allowInput":true,"_FontFamily":"Monaco,monospace","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1},"layout":{"__isSmartRef__":true,"id":119},"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":120}],"doNotSerialize":["$$textString","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors"],"doNotCopyProperties":["$$textString"],"accessibleInInactiveWindow":true,"_lastSyntaxHighlightTime":19,"showsHalos":false,"charsReplaced":"","lastFindLoc":122,"isBeingDragged":false,"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"savedTextString":"\nalert(\"delete \" + this.getSelectionRange())\nGlobal.getSelection().deleteFromDocument()\n// this.fixChunks()\n\n// Functions.all(Global.getSelection())\n//show(this)\n// remove \"- \" breaks \n// this.textString = this.textString.replace(/([a-z])- /g, function($0, $1) {return $1})\n// if (this.format)\n//     this.format()\n\n\n\n// this.world()\n// onMouseUp","__serializedExpressions__":["_TextColor","_Position","distanceToDragEvent"],"textString":"\nalert(\"delete \" + this.getSelectionRange())\nvar r = this.getSelectionRange()\nGlobal.getSelection().deleteFromDocument()\nthis.setSelectionRange(r[0],r[0])\n\n// this.fixChunks()\n\n// Functions.all(Global.getSelection())\n//show(this)\n// remove \"- \" breaks \n// this.textString = this.textString.replace(/([a-z])- /g, function($0, $1) {return $1})\n// if (this.format)\n//     this.format()\n\n\n\n// this.world()\n// onMouseUp","name":"Workspace","priorSelectionRange":[154,154],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":122},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(10.0,46.0)","distanceToDragEvent":"lively.pt(488.0,-5.0)"},"29":{"_BorderWidth":1,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(729.0,278.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(95,94,95)","_Fill":"Color.rgb(243,243,243)"},"30":{"_id":"_7192","style":{"__isSmartRef__":true,"id":31},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"\nalert(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"31":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"32":{"_id":"_8925","style":{"__isSmartRef__":true,"id":33},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"\"delete \"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"33":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,128)"},"34":{"_id":"_9087","style":{"__isSmartRef__":true,"id":35},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":" + ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"35":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"36":{"_id":"_12163","style":{"__isSmartRef__":true,"id":37},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"37":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"38":{"_id":"_12177","style":{"__isSmartRef__":true,"id":39},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":".getSelectionRange())\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"39":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"40":{"_id":"_13147","style":{"__isSmartRef__":true,"id":41},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"41":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"42":{"_id":"_13151","style":{"__isSmartRef__":true,"id":43},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":" r = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"43":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"44":{"_id":"_13176","style":{"__isSmartRef__":true,"id":45},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"45":{"color":"rgb(0,0,139)","backgroundColor":"rgb(243,243,243)","fontFamily":"Monaco,monospace","fontSize":"13px","fontWeight":"normal","textAlign":"start","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"46":{"_id":"_13177","style":{"__isSmartRef__":true,"id":47},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":".getSelectionRange()","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"47":{"color":"rgb(0,0,0)","backgroundColor":"rgb(243,243,243)","fontFamily":"Monaco,monospace","fontSize":"13px","fontWeight":"normal","textAlign":"start","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"48":{"_id":"_13178","style":{"__isSmartRef__":true,"id":49},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"49":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"50":{"_id":"_13431","style":{"__isSmartRef__":true,"id":51},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"Global","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"51":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"52":{"_id":"_13432","style":{"__isSmartRef__":true,"id":53},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":".getSelection().deleteFromDocument()\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"53":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"54":{"_id":"_13249","style":{"__isSmartRef__":true,"id":55},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"55":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"56":{"_id":"_13259","style":{"__isSmartRef__":true,"id":57},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":".setSelectionRange(r[","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"57":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"58":{"_id":"_13368","style":{"__isSmartRef__":true,"id":59},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"59":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"60":{"_id":"_13363","style":{"__isSmartRef__":true,"id":61},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"],r[","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"61":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"62":{"_id":"_13406","style":{"__isSmartRef__":true,"id":63},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"63":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"64":{"_id":"_13401","style":{"__isSmartRef__":true,"id":65},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"])\n\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"65":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"66":{"_id":"_8559","style":{"__isSmartRef__":true,"id":67},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"//","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"67":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(128,0,0)"},"68":{"_id":"_8569","style":{"__isSmartRef__":true,"id":69},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":" this.fixChunks()","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"69":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"70":{"_id":"_8560","style":{"__isSmartRef__":true,"id":71},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"\n\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"71":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"72":{"_id":"_8654","style":{"__isSmartRef__":true,"id":73},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"//","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"73":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(128,0,0)"},"74":{"_id":"_8655","style":{"__isSmartRef__":true,"id":75},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":" Functions.all(Global.getSelection())","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"75":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"76":{"_id":"_8656","style":{"__isSmartRef__":true,"id":77},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"77":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"78":{"_id":"_4403","style":{"__isSmartRef__":true,"id":79},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"//","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"79":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(128,0,0)"},"80":{"_id":"_4382","style":{"__isSmartRef__":true,"id":81},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"show(this)","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"81":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"82":{"_id":"_4383","style":{"__isSmartRef__":true,"id":83},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"83":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"84":{"_id":"_5","style":{"__isSmartRef__":true,"id":85},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"//","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"85":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(128,0,0)"},"86":{"_id":"_6","style":{"__isSmartRef__":true,"id":87},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":" remove \"- \" breaks ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"87":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"88":{"_id":"_7","style":{"__isSmartRef__":true,"id":89},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"89":{"__serializedExpressions__":["backgroundColor"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","backgroundColor":"Color.rgba(204,204,0,0.4)"},"90":{"_id":"_8","style":{"__isSmartRef__":true,"id":91},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"//","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"91":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(128,0,0)"},"92":{"_id":"_4360","style":{"__isSmartRef__":true,"id":93},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":" this.textString = this.textString.replace(/([a-z])- /g, function($0, $1) {return $1})","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"93":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"94":{"_id":"_4358","style":{"__isSmartRef__":true,"id":95},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"95":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"96":{"_id":"_4289","style":{"__isSmartRef__":true,"id":97},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"//","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"97":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(128,0,0)"},"98":{"_id":"_4297","style":{"__isSmartRef__":true,"id":99},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":" if (this.format)","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"99":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"100":{"_id":"_4291","style":{"__isSmartRef__":true,"id":101},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"101":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"102":{"_id":"_4324","style":{"__isSmartRef__":true,"id":103},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"//","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"103":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(128,0,0)"},"104":{"_id":"_4330","style":{"__isSmartRef__":true,"id":105},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"     this.format()","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"105":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"106":{"_id":"_4326","style":{"__isSmartRef__":true,"id":107},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"\n\n\n\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"107":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"108":{"_id":"_32","style":{"__isSmartRef__":true,"id":109},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"//","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"109":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(128,0,0)"},"110":{"_id":"_33","style":{"__isSmartRef__":true,"id":111},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":" this.world()","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"111":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"112":{"_id":"_34","style":{"__isSmartRef__":true,"id":113},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"113":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"114":{"_id":"_35","style":{"__isSmartRef__":true,"id":115},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":"//","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"115":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(128,0,0)"},"116":{"_id":"_36","style":{"__isSmartRef__":true,"id":117},"chunkOwner":{"__isSmartRef__":true,"id":28},"storedString":" onMouseUp","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"117":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"118":{"morph":{"__isSmartRef__":true,"id":28},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"119":{"resizeWidth":true,"resizeHeight":true},"120":{"sourceObj":{"__isSmartRef__":true,"id":28},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":28},"targetMethodName":"highlightSyntaxDebounced","varMapping":{"__isSmartRef__":true,"id":121},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"121":{"source":{"__isSmartRef__":true,"id":28},"target":{"__isSmartRef__":true,"id":28}},"122":{"getDoitContext":{"__isSmartRef__":true,"id":123}},"123":{"varMapping":{"__isSmartRef__":true,"id":124},"source":"function getDoitContext() {\n    return this.owner.getLastTextMorph()\n}","funcProperties":{"__isSmartRef__":true,"id":129},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"124":{"this":{"__isSmartRef__":true,"id":28},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":125}},"125":{"$super":{"__isSmartRef__":true,"id":126}},"126":{"varMapping":{"__isSmartRef__":true,"id":127},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":128},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"127":{"obj":{"__isSmartRef__":true,"id":28},"name":"getDoitContext"},"128":{},"129":{"timestamp":{"__isSmartRef__":true,"id":130},"user":"jenslincke","tags":[]},"130":{"isSerializedDate":true,"string":"Fri Mar 22 2013 18:08:10 GMT+0100 (CET)"},"131":{"submorphs":[{"__isSmartRef__":true,"id":132}],"scripts":[],"shape":{"__isSmartRef__":true,"id":137},"eventHandler":{"__isSmartRef__":true,"id":138},"_ClipMode":"visible","derivationIds":["EC7EBB28-54AE-4244-80ED-3E13650F82B7"],"id":"875FEE10-AE1D-4439-AB82-698C77CFA14B","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":132},"_PreviousBorderWidth":1,"isPressed":false,"showsHalos":false,"attributeConnections":[{"__isSmartRef__":true,"id":139},{"__isSmartRef__":true,"id":141}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"name":"Button1","partsBinMetaInfo":{"__isSmartRef__":true,"id":143},"owner":{"__isSmartRef__":true,"id":1},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":149},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(11.0,24.0)","distanceToDragEvent":"lively.pt(69.0,-8.0)"},"132":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":133},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":134}],"eventHandler":{"__isSmartRef__":true,"id":136},"_ClipMode":"hidden","derivationIds":["7884E73F-0D17-44B3-907F-44A5223F1F3D"],"id":"472E0364-0109-4B8E-952B-3557962833B4","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":131},"isLabel":true,"_Align":"center","eventsAreIgnored":true,"_TextStylingMode":true,"showsHalos":false,"eventsAreDisabled":true,"_PointerEvents":"none","__serializedExpressions__":["_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"133":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(100.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"134":{"style":{"__isSmartRef__":true,"id":135},"chunkOwner":{"__isSmartRef__":true,"id":132},"_id":"_10029","storedString":"doit","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"135":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"136":{"morph":{"__isSmartRef__":true,"id":132},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"137":{"_BorderWidth":1,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(100.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"138":{"morph":{"__isSmartRef__":true,"id":131},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"139":{"sourceObj":{"__isSmartRef__":true,"id":131},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":131},"targetMethodName":"doAction","varMapping":{"__isSmartRef__":true,"id":140},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"140":{"source":{"__isSmartRef__":true,"id":131},"target":{"__isSmartRef__":true,"id":131}},"141":{"sourceObj":{"__isSmartRef__":true,"id":131},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"doIt","varMapping":{"__isSmartRef__":true,"id":142},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"142":{"source":{"__isSmartRef__":true,"id":131},"target":{"__isSmartRef__":true,"id":1}},"143":{"partName":"Button","requiredModules":[],"partsSpaceName":"PartsBin/Inputs","comment":"A simple button that calls a method #doAction when pressed.","changes":[{"__isSmartRef__":true,"id":144},{"__isSmartRef__":true,"id":146}],"migrationLevel":4,"lastModifiedDate":{"__isSmartRef__":true,"id":148},"revisionOnLoad":186411,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"144":{"date":{"__isSmartRef__":true,"id":145},"author":null,"message":"no comment","id":"F8B70225-5143-4A51-ABB4-344B488B3811"},"145":{"isSerializedDate":true,"string":"Tue Dec 11 2012 22:15:42 GMT+0100 (CET)"},"146":{"date":{"__isSmartRef__":true,"id":147},"author":"robertkrahn","message":"no comment","id":"9B8B6BE4-4519-4A6C-8F47-70DE61BBB0FB"},"147":{"isSerializedDate":true,"string":"Tue Dec 11 2012 22:53:16 GMT+0100 (CET)"},"148":{"isSerializedDate":true,"string":"Thu Mar 07 2013 01:25:14 GMT+0100 (CET)"},"149":{"doAction":{"__isSmartRef__":true,"id":150}},"150":{"varMapping":{"__isSmartRef__":true,"id":151},"source":"function doAction() {\n    \n}","funcProperties":{"__isSmartRef__":true,"id":152},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"151":{"this":{"__isSmartRef__":true,"id":131}},"152":{"timestamp":{"__isSmartRef__":true,"id":153},"user":"undefined","tags":[]},"153":{"isSerializedDate":true,"string":"Tue Dec 11 2012 22:14:29 GMT+0100 (CET)"},"154":{"target":{"__isSmartRef__":true,"id":1},"selector":"update","args":[],"stopped":false,"tickTime":200,"suspended":false,"__LivelyClassName__":"lively.morphic.TargetScript","__SourceModuleName__":"Global.lively.morphic.Core"},"155":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":true,"_BorderStylingMode":true,"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(743.0,332.0)","_BorderColor":"Color.rgb(95,94,95)","_Fill":"Color.rgb(222,222,222)","_Padding":"lively.rect(0,0,0,0)"},"156":{"partsSpaceName":"PartsBin/Jens","comment":"An experimental text selection tool","migrationLevel":4,"partName":"TextSelectionTool","changes":[{"__isSmartRef__":true,"id":157},{"__isSmartRef__":true,"id":159},{"__isSmartRef__":true,"id":161},{"__isSmartRef__":true,"id":163},{"__isSmartRef__":true,"id":165},{"__isSmartRef__":true,"id":167},{"__isSmartRef__":true,"id":169},{"__isSmartRef__":true,"id":171},{"__isSmartRef__":true,"id":173},{"__isSmartRef__":true,"id":175},{"__isSmartRef__":true,"id":177},{"__isSmartRef__":true,"id":179},{"__isSmartRef__":true,"id":181},{"__isSmartRef__":true,"id":183}],"lastModifiedDate":{"__isSmartRef__":true,"id":185},"revisionOnLoad":194402,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"157":{"date":{"__isSmartRef__":true,"id":158},"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20"},"158":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"159":{"date":{"__isSmartRef__":true,"id":160},"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2"},"160":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"161":{"date":{"__isSmartRef__":true,"id":162},"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205"},"162":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"163":{"date":{"__isSmartRef__":true,"id":164},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"164":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"165":{"date":{"__isSmartRef__":true,"id":166},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"166":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"167":{"date":{"__isSmartRef__":true,"id":168},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"168":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"169":{"date":{"__isSmartRef__":true,"id":170},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"170":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"171":{"date":{"__isSmartRef__":true,"id":172},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"172":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"173":{"date":{"__isSmartRef__":true,"id":174},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"174":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"175":{"date":{"__isSmartRef__":true,"id":176},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"176":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"177":{"date":{"__isSmartRef__":true,"id":178},"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8"},"178":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"179":{"date":{"__isSmartRef__":true,"id":180},"author":"jenslincke","message":"no comment","id":"2D3ED45C-4DDA-4A5B-9B74-346D9753FE42"},"180":{"isSerializedDate":true,"string":"Fri Mar 22 2013 17:48:30 GMT+0100 (CET)"},"181":{"date":{"__isSmartRef__":true,"id":182},"author":"jenslincke","message":"no comment","id":"201536E4-4A82-46CF-9165-82D627E61712"},"182":{"isSerializedDate":true,"string":"Fri Mar 22 2013 18:11:35 GMT+0100 (CET)"},"183":{"date":{"__isSmartRef__":true,"id":184},"author":"jenslincke","message":"delete works","id":"2FAE7026-FD79-402C-A8A2-8A692D723398"},"184":{"isSerializedDate":true,"string":"Sun Mar 24 2013 16:23:29 GMT+0100 (CET)"},"185":{"isSerializedDate":true,"string":"Fri Mar 22 2013 18:10:06 GMT+0100 (CET)"},"186":{"morph":{"__isSmartRef__":true,"id":1},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"187":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":188}},"188":{"test01IsMorph":{"__isSmartRef__":true,"id":189}},"189":{"varMapping":{"__isSmartRef__":true,"id":190},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":191},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"190":{"this":{"__isSmartRef__":true,"id":187}},"191":{},"192":{"resizeWidth":true,"resizeHeight":true},"193":{"installLayer":{"__isSmartRef__":true,"id":194},"update":{"__isSmartRef__":true,"id":198},"reset":{"__isSmartRef__":true,"id":202},"showLastSelection":{"__isSmartRef__":true,"id":206},"getLastTextSelectionRange":{"__isSmartRef__":true,"id":210},"getLastTextMorph":{"__isSmartRef__":true,"id":214},"getLastTextSelectionBounds":{"__isSmartRef__":true,"id":218},"getLastTextSelection":{"__isSmartRef__":true,"id":222},"removeSelectionMarker":{"__isSmartRef__":true,"id":226},"onrestore":{"__isSmartRef__":true,"id":230},"doIt":{"__isSmartRef__":true,"id":238}},"194":{"varMapping":{"__isSmartRef__":true,"id":195},"source":"function installLayer() {\n    cop.create(\"RememberTextSelectionLayer\").refineClass(lively.morphic.Text, {\n    setSelectionRange: function(a, b) {\n        var r = cop.proceed(a, b)\n        this.remeberTextSelection()\n        return r\n    },\n    remeberTextSelection: function() {\n        // use the layer as a singleton\n        try {\n            RememberTextSelectionLayer.lastTextMorph = this;\n            RememberTextSelectionLayer.lastTextSelectionRange = this.getSelectionRange();\n            // RememberTextSelectionLayer.lastTextSelectionBounds = this.getSelectionBounds();\n            // RememberTextSelectionLayer.lastTextSelection = this.selectionString();\n        } catch(e) {\n            // ignore\n        }\n    },\n    onMouseUp: function(evt) {\n        var r = cop.proceed(evt)\n         this.remeberTextSelection()\n        return r\n    }\n})\n    RememberTextSelectionLayer.sourceModule = null\n    RememberTextSelectionLayer.doNotSerialize = [\"lastTextMorph\", \"lastTextSelectionRange\", \n        \"lastTextSelectionBounds\", \"lastTextSelection\"]\n    this.setWithoutLayers([RememberTextSelectionLayer])\n    RememberTextSelectionLayer.beGlobal()\n}","funcProperties":{"__isSmartRef__":true,"id":196},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"195":{"this":{"__isSmartRef__":true,"id":1}},"196":{"timestamp":{"__isSmartRef__":true,"id":197},"user":"jenslincke","tags":[]},"197":{"isSerializedDate":true,"string":"Fri Mar 22 2013 18:06:36 GMT+0100 (CET)"},"198":{"varMapping":{"__isSmartRef__":true,"id":199},"source":"function update() {\n    // use stepping to only sample the text selection changes...\n    this.get(\"TextMorphName\").textString = \"\" + this.getLastTextMorph()\n    this.get(\"TextSelectionRange\").textString = \"\" + this.getLastTextSelectionRange()\n    // this.showLastSelection()\n}","funcProperties":{"__isSmartRef__":true,"id":200},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"199":{"this":{"__isSmartRef__":true,"id":1}},"200":{"timestamp":{"__isSmartRef__":true,"id":201},"user":"jenslincke","tags":[]},"201":{"isSerializedDate":true,"string":"Fri Mar 22 2013 18:06:55 GMT+0100 (CET)"},"202":{"varMapping":{"__isSmartRef__":true,"id":203},"source":"function reset() {\n    this.startStepping(200, \"update\")\n}","funcProperties":{"__isSmartRef__":true,"id":204},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"203":{"this":{"__isSmartRef__":true,"id":1}},"204":{"timestamp":{"__isSmartRef__":true,"id":205},"user":"jenslincke","tags":[]},"205":{"isSerializedDate":true,"string":"Fri Mar 22 2013 17:32:55 GMT+0100 (CET)"},"206":{"varMapping":{"__isSmartRef__":true,"id":207},"source":"function showLastSelection() {\n    \n    if(!this.textSelectionMarker)\n        this.textSelectionMarker = lively.morphic.Morph.makeRectangle(new Rectangle(0,0,10,10))\n\n\n    this.textSelectionMarker.ignoreEvents()\n    this.textSelectionMarker.isEpiMorph = true;\n    this.textSelectionMarker.setOpacity(0.1)\n    this.textSelectionMarker.setBounds(this.getLastTextSelectionBounds())\n    this.world().addMorph(this.textSelectionMarker)\n}","funcProperties":{"__isSmartRef__":true,"id":208},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"207":{"this":{"__isSmartRef__":true,"id":1}},"208":{"timestamp":{"__isSmartRef__":true,"id":209},"user":"jenslincke","tags":[]},"209":{"isSerializedDate":true,"string":"Fri Mar 22 2013 18:03:22 GMT+0100 (CET)"},"210":{"varMapping":{"__isSmartRef__":true,"id":211},"source":"function getLastTextSelectionRange() {\n    return RememberTextSelectionLayer.lastTextSelectionRange\n}","funcProperties":{"__isSmartRef__":true,"id":212},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"211":{"this":{"__isSmartRef__":true,"id":1}},"212":{"timestamp":{"__isSmartRef__":true,"id":213},"user":"jenslincke","tags":[]},"213":{"isSerializedDate":true,"string":"Fri Mar 22 2013 17:44:49 GMT+0100 (CET)"},"214":{"varMapping":{"__isSmartRef__":true,"id":215},"source":"function getLastTextMorph() {\n    return RememberTextSelectionLayer.lastTextMorph\n}","funcProperties":{"__isSmartRef__":true,"id":216},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"215":{"this":{"__isSmartRef__":true,"id":1}},"216":{"timestamp":{"__isSmartRef__":true,"id":217},"user":"jenslincke","tags":[]},"217":{"isSerializedDate":true,"string":"Fri Mar 22 2013 17:45:43 GMT+0100 (CET)"},"218":{"varMapping":{"__isSmartRef__":true,"id":219},"source":"function getLastTextSelectionBounds() {\n    return RememberTextSelectionLayer.lastTextSelectionBounds\n}","funcProperties":{"__isSmartRef__":true,"id":220},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"219":{"this":{"__isSmartRef__":true,"id":1}},"220":{"timestamp":{"__isSmartRef__":true,"id":221},"user":"jenslincke","tags":[]},"221":{"isSerializedDate":true,"string":"Fri Mar 22 2013 17:45:57 GMT+0100 (CET)"},"222":{"varMapping":{"__isSmartRef__":true,"id":223},"source":"function getLastTextSelection() {\n    return RememberTextSelectionLayer.lastTextSelection\n}","funcProperties":{"__isSmartRef__":true,"id":224},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"223":{"this":{"__isSmartRef__":true,"id":1}},"224":{"timestamp":{"__isSmartRef__":true,"id":225},"user":"jenslincke","tags":[]},"225":{"isSerializedDate":true,"string":"Fri Mar 22 2013 17:46:11 GMT+0100 (CET)"},"226":{"varMapping":{"__isSmartRef__":true,"id":227},"source":"function removeSelectionMarker() {\n    if(!this.textSelectionMarker) return;\n    this.textSelectionMarker.remove();\n\n    delete this.textSelectionMarker;\n\n}","funcProperties":{"__isSmartRef__":true,"id":228},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"227":{"this":{"__isSmartRef__":true,"id":1}},"228":{"timestamp":{"__isSmartRef__":true,"id":229},"user":"jenslincke","tags":[]},"229":{"isSerializedDate":true,"string":"Fri Mar 22 2013 17:55:09 GMT+0100 (CET)"},"230":{"varMapping":{"__isSmartRef__":true,"id":231},"source":"function onrestore() {\n    this.installLayer()\n}","funcProperties":{"__isSmartRef__":true,"id":236},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"231":{"this":{"__isSmartRef__":true,"id":1},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":232}},"232":{"$super":{"__isSmartRef__":true,"id":233}},"233":{"varMapping":{"__isSmartRef__":true,"id":234},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":235},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"234":{"obj":{"__isSmartRef__":true,"id":1},"name":"onrestore"},"235":{},"236":{"timestamp":{"__isSmartRef__":true,"id":237},"user":"jenslincke","tags":[]},"237":{"isSerializedDate":true,"string":"Sun Mar 24 2013 16:07:30 GMT+0100 (CET)"},"238":{"varMapping":{"__isSmartRef__":true,"id":239},"source":"function doIt() {\n    var r = this.getLastTextSelectionRange()\n    this.getLastTextMorph().focus()\n    this.getLastTextMorph().setSelectionRange(r[0], r[1])\n    this.get(\"Workspace\").evalAll()\n}","funcProperties":{"__isSmartRef__":true,"id":240},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"239":{"this":{"__isSmartRef__":true,"id":1}},"240":{"timestamp":{"__isSmartRef__":true,"id":241},"user":"jenslincke","tags":[]},"241":{"isSerializedDate":true,"string":"Sun Mar 24 2013 16:21:17 GMT+0100 (CET)"},"242":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":243},"eventHandler":{"__isSmartRef__":true,"id":244},"_ClipMode":"visible","derivationIds":[],"id":"7BB95F23-4938-4AB4-9365-F9D69E0B4D84","droppingEnabled":true,"halosEnabled":true,"_StyleClassNames":["reframe-handle bottom"],"owner":{"__isSmartRef__":true,"id":0},"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":245},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,355.0)"},"243":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(737.0,4.0)","_Padding":"lively.rect(0,0,0,0)"},"244":{"morph":{"__isSmartRef__":true,"id":242},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"245":{"onDragStart":{"__isSmartRef__":true,"id":246},"onDrag":{"__isSmartRef__":true,"id":253},"onDragEnd":{"__isSmartRef__":true,"id":260}},"246":{"varMapping":{"__isSmartRef__":true,"id":247},"source":"function onDragStart(evt) {\n            this.dragStartPoint = evt.mousePoint;\n            this.originalTargetExtent = this.owner.getExtent();\n        }","funcProperties":{"__isSmartRef__":true,"id":252},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"247":{"this":{"__isSmartRef__":true,"id":242},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":248}},"248":{"$super":{"__isSmartRef__":true,"id":249}},"249":{"varMapping":{"__isSmartRef__":true,"id":250},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":251},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"250":{"obj":{"__isSmartRef__":true,"id":242},"name":"onDragStart"},"251":{},"252":{},"253":{"varMapping":{"__isSmartRef__":true,"id":254},"source":"function onDrag(evt) {\n            var moveDelta = pt(0,evt.mousePoint.subPt(this.dragStartPoint).y);\n            var newExtent = this.originalTargetExtent.addPt(moveDelta);\n            if (newExtent.y < this.owner.minHeight) newExtent.y = this.owner.minHeight;\n            this.owner.setExtent(newExtent);\n\n            this.align(this.bounds().bottomLeft(), pt(0,this.owner.getExtent().y));\n        }","funcProperties":{"__isSmartRef__":true,"id":259},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"254":{"this":{"__isSmartRef__":true,"id":242},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":255}},"255":{"$super":{"__isSmartRef__":true,"id":256}},"256":{"varMapping":{"__isSmartRef__":true,"id":257},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":258},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"257":{"obj":{"__isSmartRef__":true,"id":242},"name":"onDrag"},"258":{},"259":{},"260":{"varMapping":{"__isSmartRef__":true,"id":261},"source":"function onDragEnd(evt) {\n            this.dragStartPoint = null;\n            this.originalTargetExtent = null;\n            this.owner.alignReframeHandle();\n            this.owner.alignRightReframeHandle();\n        }","funcProperties":{"__isSmartRef__":true,"id":266},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"261":{"this":{"__isSmartRef__":true,"id":242},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":262}},"262":{"$super":{"__isSmartRef__":true,"id":263}},"263":{"varMapping":{"__isSmartRef__":true,"id":264},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":265},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"264":{"obj":{"__isSmartRef__":true,"id":242},"name":"onDragEnd"},"265":{},"266":{},"267":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":268},"eventHandler":{"__isSmartRef__":true,"id":269},"_ClipMode":"visible","derivationIds":[],"id":"52408DA5-C385-4164-99ED-F1C972CBCB56","droppingEnabled":true,"halosEnabled":true,"_StyleClassNames":["reframe-handle right"],"owner":{"__isSmartRef__":true,"id":0},"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":270},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(747.0,0.0)"},"268":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(4.0,345.0)","_Padding":"lively.rect(0,0,0,0)"},"269":{"morph":{"__isSmartRef__":true,"id":267},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"270":{"onDragStart":{"__isSmartRef__":true,"id":271},"onDrag":{"__isSmartRef__":true,"id":278},"onDragEnd":{"__isSmartRef__":true,"id":285}},"271":{"varMapping":{"__isSmartRef__":true,"id":272},"source":"function onDragStart(evt) {\n            this.dragStartPoint = evt.mousePoint;\n            this.originalTargetExtent = this.owner.getExtent();\n        }","funcProperties":{"__isSmartRef__":true,"id":277},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"272":{"this":{"__isSmartRef__":true,"id":267},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":273}},"273":{"$super":{"__isSmartRef__":true,"id":274}},"274":{"varMapping":{"__isSmartRef__":true,"id":275},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":276},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"275":{"obj":{"__isSmartRef__":true,"id":267},"name":"onDragStart"},"276":{},"277":{},"278":{"varMapping":{"__isSmartRef__":true,"id":279},"source":"function onDrag(evt) {\n            var moveDelta = pt(evt.mousePoint.subPt(this.dragStartPoint).x,0);\n            var newExtent = this.originalTargetExtent.addPt(moveDelta);\n            if (newExtent.x < this.owner.minWidth) newExtent.x = this.owner.minWidth;\n\n            this.owner.setExtent(newExtent);\n            this.align(this.bounds().topRight(), pt(this.owner.getExtent().x,0));\n        }","funcProperties":{"__isSmartRef__":true,"id":284},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"279":{"this":{"__isSmartRef__":true,"id":267},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":280}},"280":{"$super":{"__isSmartRef__":true,"id":281}},"281":{"varMapping":{"__isSmartRef__":true,"id":282},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":283},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"282":{"obj":{"__isSmartRef__":true,"id":267},"name":"onDrag"},"283":{},"284":{},"285":{"varMapping":{"__isSmartRef__":true,"id":286},"source":"function onDragEnd(evt) {\n            this.dragStartPoint = null;\n            this.originalTargetExtent = null;\n            this.owner.alignReframeHandle();\n            this.owner.alignBottomReframeHandle();\n        }","funcProperties":{"__isSmartRef__":true,"id":291},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"286":{"this":{"__isSmartRef__":true,"id":267},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":287}},"287":{"$super":{"__isSmartRef__":true,"id":288}},"288":{"varMapping":{"__isSmartRef__":true,"id":289},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":290},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"289":{"obj":{"__isSmartRef__":true,"id":267},"name":"onDragEnd"},"290":{},"291":{},"292":{"submorphs":[{"__isSmartRef__":true,"id":293},{"__isSmartRef__":true,"id":299},{"__isSmartRef__":true,"id":312},{"__isSmartRef__":true,"id":324}],"scripts":[],"shape":{"__isSmartRef__":true,"id":337},"eventHandler":{"__isSmartRef__":true,"id":338},"_ClipMode":"visible","derivationIds":[],"id":"360A556E-8271-48E2-A69A-4CFF862B96F5","droppingEnabled":false,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":339},"windowMorph":{"__isSmartRef__":true,"id":0},"label":{"__isSmartRef__":true,"id":293},"closeButton":{"__isSmartRef__":true,"id":299},"menuButton":{"__isSmartRef__":true,"id":312},"collapseButton":{"__isSmartRef__":true,"id":324},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":0},"__serializedExpressions__":["_Position"],"prevScroll":[0,0],"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,0.0)"},"293":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":294},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":295}],"eventHandler":{"__isSmartRef__":true,"id":297},"_ClipMode":"hidden","derivationIds":[],"id":"5B58BB4D-41CE-4259-979B-7AFF9E0D8768","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"layout":{"__isSmartRef__":true,"id":298},"eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":292},"_StyleClassNames":["window-title"],"_TextStylingMode":true,"__serializedExpressions__":["_TextColor","_Position"],"prevScroll":[0,0],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(20.0,3.0)"},"294":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(692.0,18.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"295":{"style":{"__isSmartRef__":true,"id":296},"chunkOwner":{"__isSmartRef__":true,"id":293},"_id":"_11579","storedString":"TextSelectionTool","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"296":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"297":{"morph":{"__isSmartRef__":true,"id":293},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"298":{"resizeWidth":true},"299":{"submorphs":[{"__isSmartRef__":true,"id":300}],"scripts":[],"shape":{"__isSmartRef__":true,"id":305},"eventHandler":{"__isSmartRef__":true,"id":306},"_ClipMode":"visible","derivationIds":[],"id":"C1717EAD-566D-4990-9095-336FEE213CD4","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":300},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":292},"layout":{"__isSmartRef__":true,"id":307},"_StyleClassNames":["close"],"attributeConnections":[{"__isSmartRef__":true,"id":308},{"__isSmartRef__":true,"id":310}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"isPressed":false,"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(731.0,3.0)"},"300":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":301},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":302}],"eventHandler":{"__isSmartRef__":true,"id":304},"_ClipMode":"hidden","derivationIds":[],"id":"8784D265-2BD2-4598-BFAE-EE055055D5F8","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":299},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,-1.0)"},"301":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(15.0,17.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"302":{"style":{"__isSmartRef__":true,"id":303},"chunkOwner":{"__isSmartRef__":true,"id":300},"_id":"_11574","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"303":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"304":{"morph":{"__isSmartRef__":true,"id":300},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"305":{"_BorderWidth":1,"_StrokeOpacity":0,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"306":{"morph":{"__isSmartRef__":true,"id":299},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"307":{"moveHorizontal":true},"308":{"sourceObj":{"__isSmartRef__":true,"id":299},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"getCloseHelp","varMapping":{"__isSmartRef__":true,"id":309},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"309":{"source":{"__isSmartRef__":true,"id":299},"target":{"__isSmartRef__":true,"id":0}},"310":{"sourceObj":{"__isSmartRef__":true,"id":299},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"initiateShutdown","varMapping":{"__isSmartRef__":true,"id":311},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"311":{"source":{"__isSmartRef__":true,"id":299},"target":{"__isSmartRef__":true,"id":0}},"312":{"submorphs":[{"__isSmartRef__":true,"id":313}],"scripts":[],"shape":{"__isSmartRef__":true,"id":318},"eventHandler":{"__isSmartRef__":true,"id":319},"_ClipMode":"visible","derivationIds":[],"id":"7801350C-4E78-4938-8EF4-043FE5FAAA73","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":313},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":292},"attributeConnections":[{"__isSmartRef__":true,"id":320},{"__isSmartRef__":true,"id":322}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"isPressed":false,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(3.0,3.0)"},"313":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":314},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":315}],"eventHandler":{"__isSmartRef__":true,"id":317},"_ClipMode":"hidden","derivationIds":[],"id":"90C15299-9619-45EE-B0C4-F5DA210E8472","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":312},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,0.0)"},"314":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(18.0,17.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"315":{"style":{"__isSmartRef__":true,"id":316},"chunkOwner":{"__isSmartRef__":true,"id":313},"_id":"_11576","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"316":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"317":{"morph":{"__isSmartRef__":true,"id":313},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"318":{"_BorderWidth":1,"_StrokeOpacity":0,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"319":{"morph":{"__isSmartRef__":true,"id":312},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"320":{"sourceObj":{"__isSmartRef__":true,"id":312},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"getMenuHelp","varMapping":{"__isSmartRef__":true,"id":321},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"321":{"source":{"__isSmartRef__":true,"id":312},"target":{"__isSmartRef__":true,"id":0}},"322":{"sourceObj":{"__isSmartRef__":true,"id":312},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"showTargetMorphMenu","varMapping":{"__isSmartRef__":true,"id":323},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"323":{"source":{"__isSmartRef__":true,"id":312},"target":{"__isSmartRef__":true,"id":0}},"324":{"submorphs":[{"__isSmartRef__":true,"id":325}],"scripts":[],"shape":{"__isSmartRef__":true,"id":330},"eventHandler":{"__isSmartRef__":true,"id":331},"_ClipMode":"visible","derivationIds":[],"id":"6EBED1CA-868E-44C4-AAE3-27E2893C9612","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":325},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":292},"layout":{"__isSmartRef__":true,"id":332},"attributeConnections":[{"__isSmartRef__":true,"id":333},{"__isSmartRef__":true,"id":335}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(712.0,3.0)"},"325":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":326},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":327}],"eventHandler":{"__isSmartRef__":true,"id":329},"_ClipMode":"hidden","derivationIds":[],"id":"FBB46D4A-6DA6-4271-988D-5D7E86E57721","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":324},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,1.0)"},"326":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(15.0,17.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"327":{"style":{"__isSmartRef__":true,"id":328},"chunkOwner":{"__isSmartRef__":true,"id":325},"_id":"_11578","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"328":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"329":{"morph":{"__isSmartRef__":true,"id":325},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"330":{"_BorderWidth":1,"_StrokeOpacity":0,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"331":{"morph":{"__isSmartRef__":true,"id":324},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"332":{"moveHorizontal":true},"333":{"sourceObj":{"__isSmartRef__":true,"id":324},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"getCollapseHelp","varMapping":{"__isSmartRef__":true,"id":334},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"334":{"source":{"__isSmartRef__":true,"id":324},"target":{"__isSmartRef__":true,"id":0}},"335":{"sourceObj":{"__isSmartRef__":true,"id":324},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"toggleCollapse","varMapping":{"__isSmartRef__":true,"id":336},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"336":{"source":{"__isSmartRef__":true,"id":324},"target":{"__isSmartRef__":true,"id":0}},"337":{"_AppearanceStylingMode":true,"_BorderStylingMode":true,"_BorderWidth":0,"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(751.0,22.0)","_Padding":"lively.rect(0,0,0,0)"},"338":{"morph":{"__isSmartRef__":true,"id":292},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"339":{"resizeWidth":true,"adjustForNewBounds":true},"340":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":341},"eventHandler":{"__isSmartRef__":true,"id":342},"_ClipMode":"visible","derivationIds":[],"id":"0B30928C-971A-48FC-A8A6-0A44A52C9A54","droppingEnabled":true,"halosEnabled":true,"_StyleClassNames":["reframe-handle corner"],"owner":{"__isSmartRef__":true,"id":0},"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":343},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(737.0,345.0)"},"341":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(14.0,14.0)","_Padding":"lively.rect(0,0,0,0)"},"342":{"morph":{"__isSmartRef__":true,"id":340},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"343":{"onDragStart":{"__isSmartRef__":true,"id":344},"onDrag":{"__isSmartRef__":true,"id":351},"onDragEnd":{"__isSmartRef__":true,"id":358}},"344":{"varMapping":{"__isSmartRef__":true,"id":345},"source":"function onDragStart(evt) {\n            this.dragStartPoint = evt.mousePoint;\n            this.originalTargetExtent = this.owner.getExtent();\n        }","funcProperties":{"__isSmartRef__":true,"id":350},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"345":{"this":{"__isSmartRef__":true,"id":340},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":346}},"346":{"$super":{"__isSmartRef__":true,"id":347}},"347":{"varMapping":{"__isSmartRef__":true,"id":348},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":349},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"348":{"obj":{"__isSmartRef__":true,"id":340},"name":"onDragStart"},"349":{},"350":{},"351":{"varMapping":{"__isSmartRef__":true,"id":352},"source":"function onDrag(evt) {\n            var moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n            var newExtent = this.originalTargetExtent.addPt(moveDelta);\n            if (newExtent.x < this.owner.minWidth) newExtent.x = this.owner.minWidth;\n            if (newExtent.y < this.owner.minHeight) newExtent.y = this.owner.minHeight;\n            this.owner.setExtent(newExtent);\n            //console.log(\"WindowExtent: \"+this.owner.getExtent().x+\" ,  \"+this.owner.getExtent().y);\n            this.align(this.bounds().bottomRight(), this.owner.getExtent());\n        }","funcProperties":{"__isSmartRef__":true,"id":357},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"352":{"this":{"__isSmartRef__":true,"id":340},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":353}},"353":{"$super":{"__isSmartRef__":true,"id":354}},"354":{"varMapping":{"__isSmartRef__":true,"id":355},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":356},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"355":{"obj":{"__isSmartRef__":true,"id":340},"name":"onDrag"},"356":{},"357":{},"358":{"varMapping":{"__isSmartRef__":true,"id":359},"source":"function onDragEnd(evt) {\n            this.dragStartPoint = null;\n            this.originalTargetExtent = null;\n            this.owner.alignBottomReframeHandle();\n            this.owner.alignRightReframeHandle();\n        }","funcProperties":{"__isSmartRef__":true,"id":364},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"359":{"this":{"__isSmartRef__":true,"id":340},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":360}},"360":{"$super":{"__isSmartRef__":true,"id":361}},"361":{"varMapping":{"__isSmartRef__":true,"id":362},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world)\n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":363},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"362":{"obj":{"__isSmartRef__":true,"id":340},"name":"onDragEnd"},"363":{},"364":{},"365":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__serializedExpressions__":["_Padding","_Extent"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Padding":"lively.rect(0,0,0,0)","_Extent":"lively.pt(751.0,359.0)"},"366":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"367":{"adjustForNewBounds":true},"isSimplifiedRegistry":true}}