Last updated at 10:35 am UTC on 14 November 2017
ActiveWorld is a global variable in Morphic which keeps the world morph instance of PasteUpMorph of a Morphic project
Project current world == ActiveWorld
ActiveWorld == World
Question: What is the reason to have two of these global variables pointing to the same object?
In our current use of Morphic (Nov 2017), there is no difference between"World" and "ActiveWorld".
Back in the Squeak 2.0 release (and maybe later?), "World" was the outermost world and "ActiveWorld" was the world that is involved in the particular event dispatch (see ActiveEvent, too), which could be in a window, for example.
This means that everyday debugging, one should use "ActiveWorld" instead of "World".
It would be good to get "worlds in worlds" working again.
To better understand the dynamically-scoped ActiveWorld global, see:
HandMorph >> #sendEvent:focus:clear:
Morph >> #processEvent:
PasteUpMorph >> #processEvent:using: