Lively Kernel canvas
usethe"Wikicontrol"abovetosaveyourchanges.
MySystemStack1
Windows7
Chrome5.0.375.99
null
null
nullnull
Morph.makeRectangle(newRectangle(50,100,80,80)).openInWorld()2
0.07319955417575547
Wikicontroltruetrue
null
null
nullnull
Notes:TooltipforhandlesaystouseAlt-dragtorotate.Thisdoesn'twork.UseCtrl-draginstead.AppearstobeaMac/Windowsdifference.Thedocshereassumeyou'reonaMac.alt-ddoesn'tseemtoworkeither.Usectrl-dfordoit.Jens:fixedthehelptext.-CommandKeyundMacmeans"cmd"or"apple"key-underWindowsitisthe"ctrl"keyPShouse:Thanks,Jens!12
How-To:Createanew(empty)page.1.Openanexistingpage,e.g.http://www.lively-kernel.org/repository/lively-wiki/users/pshouse/WorldTemplate.xhtml2.Right-clickinanemptyareaofthecanvastobringuptheWorldMorphmenu.3.FromtheWorldMorphmenu,select"publisworldas..."4.You'llbepromptedtoenteranameforthenewpage(worldfile).Enteranameinthetextboxsuchas"HelloWorld",andclickOK.5.Systemwilldisplaya"WorldSaved"notification.Ifyou'renotalreadyloggedintothesystem,you'llbepromptedtoenteryourusernameandpassword.6.Thiswillmakeacopyofthepagewestartedwithinstep1.Togetablank(empty)page,you'llneedtoselectallthemorphsandremovethem.Todothis,clickintheupperleft-handareaofthebackground,dragthemousetocreateaselectionrectanglethatincludesallthemorphsonthepage.Right-clickinsidetheboxyoujustcreateandselect"remove"fromthemenu.(isthereaneasierwaytodothis?Ah..crt-ashouldselectall...butitdoesn'tseemtodoanythingintheWorldMorphcontext.SeemstobeonlyforuseinsideaTextMorph.)20
SelectingintheLivelyeditorissimilartomostothersystems,exceptfordouble-clicking...*Double-clickingisindependentoftiming.Youjustclicktwiceinthesamespot.*Double-clickinginsideawordwillselectaword*adddetailhereaboutwhichcharactersareincludedandhow*coulddobetterwithperiod*Double-clickingnexttoabracketcharacterwillselectuptothematchingbracket*thisincludes![..],{..},(..),<..>,andeven/*..*/*Doubleclickingatthebeginningortheendofthetextselectstheentiretext*DoubleclickingatthebeginningortheendofalineselectstheentirelineTheeditingcommandsalluseacommand-keymodifiersuchastheApplekeyorthealtkey.*a--selectAll.Firstuseselectswhatyoumayhavejusttyped.Seconduseselectsentiretext.*x--Cut.Cuttheselectedtextandcopyittotheclipboard.*c--Copy.Copytheselectedtexttotheclipboard*v--Paste.Pastetheclipboardcontentstothecurrentselection*m--More.Repeatthelastreplacement.Inotherwordssearchforwardforthenextpossiblesimilarreplacementandperformit.Thisisagreattime-saverbecauseyoudon'thavetoplanaheadformultiplereplacements.*e--Exchange.Exchangethecurrentselectionwiththepreviousselection.Anothergreattime-saver,especiallyinconjunctionwithdouble-clickselection.*f--Find.Promptsforsometextandthensearchesforthefirstoccurrenceinthetextfollowingthecurrentselection.*g--aGain.Searchforwardforthenextoccurrenceoftheprevioussearchstring*w--Where.Whensourcecodeisonline,thiswillsearchtheentirecodebaseforstringsmatchingthecurrentselection,andopenachangeListbrowseronallpatchescontainingthatstring.*d--Doit.EvaluatethecurrentselectionasJavaScript.*p--Printit.EvaluatethecurrentselectionasJavaScriptandprinttheresultfollowingtheselection.*s--Save.Savethecontentsofthistextpane.Thismaymeandifferentthingsindifferentplaces.*thedefaultbehavioristoevaluatetheentiretextasJavaScript*whentheworldhastheKeyboardFocus,itsavestheWorld!Theseemphasiscommandsturntheirattributeonoroffdependingonthefirstcharacteroftheselection(doesnotworkonallBrowsers)*b--Bold.Maketheentireselectionboldornotbold*i--Italic.MaketheentireselectionitalicornotitalicThefontsizecommandsarerelativetothefontSizesetforthetextMorphasawhole.*+increasefontsize*-decreasesfontsizeTextalignmentcommands*l--Leftflush*r--Rightflush*j--Justify,ie,alignflushwithleftandrightmargins*h--Halfway,ie,centerthistextOthercommands*u--URL.Associatealinkwiththistext(andcoloritblue)*o--Givetheselectionsomelocalcolor*z--Undothepreviouschangetothebestofourability*shift+z--RedothepreviouschangetothebestofourabilityNotethattheStylePanelcanbeusedtocontrolglobalsettingsof,eg,textfont,size,colorandbackground.---------, and even /*..*/\r\n * Double clicking at the beginning or the end of the text selects the entire text\r\n * Double clicking at the beginning or the end of a line selects the entire line\r\n\r\nThe editing commands all use a command-key modifier such as the Apple key or the alt key.\r\n * a -- select All. First use selects what you may have just typed. Second use selects entire text.\r\n * x -- Cut. Cut the selected text and copy it to the clipboard.\r\n * c -- Copy. Copy the selected text to the clipboard\r\n * v -- Paste. Paste the clipboard contents to the current selection\r\n * m -- More. Repeat the last replacement. In other words search forward for the next possible similar replacement and perform it. This is a great time-saver because you don't have to plan ahead for multiple replacements.\r\n * e -- Exchange. Exchange the current selection with the previous selection. Another great time-saver, especially in conjunction with double-click selection.\r\n * f -- Find. Prompts for some text and then searches for the first occurrence in the text following the current selection.\r\n * g -- aGain. Search forward for the next occurrence of the previous search string\r\n * w -- Where. When source code is online, this will search the entire code base for strings matching the current selection, and open a changeList browser on all patches containing that string.\r\n * d -- Do it. Evaluate the current selection as JavaScript.\r\n * p -- Print it. Evaluate the current selection as JavaScript and print the result following the selection.\r\n * s -- Save. Save the contents of this text pane. This may mean different things in different places.\r\n * the default behavior is to evaluate the entire text as JavaScript\r\n * when the world has the Keyboard Focus, it saves the World!\r\n\r\nThese emphasis commands turn their attribute on or off depending on the first character of the selection (does not work on all Browsers)\r\n * b -- Bold. Make the entire selection bold or not bold\r\n * i -- Italic. Make the entire selection italic or not italic\r\n\t \r\nThe font size commands are relative to the fontSize set for the textMorph as a whole.\r\n * + increase font size\r\n * - decreases font size\r\n\t \r\nText alignment commands\r\n * l -- Left flush\r\n * r -- Right flush\r\n * j -- Justify, ie, align flush with left and right margins\r\n * h -- Halfway, ie, center this text\r\n\r\nOther commands\r\n * u -- URL. Associate a link with this text (and color it blue)\r\n * o -- Give the selection some local color\r\n * z -- Undo the previous change to the best of our ability\r\n * shift + z -- Redo the previous change to the best of our ability\r\n\r\nNote that the Style Panel can be used to control global settings of, eg, text font, size, color and background.\r\n---------\r\n"]]>108truetruefalsetruetruefalse
false00.11truefalsenulltruetruefalse
nullfalsetruenullfalse
Commandkeyhelpfalsenulltruefalse
false
false
falsenullfalsefalsenullnullnullnullfalse
null10