/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h
Returns the WorldContext for the editor world. For now, there will always be exactly 1 of these in the editor.
[FWorldContext](API\Runtime\Engine\Engine\FWorldContext) & GetEditorWorldContext ( bool bEnsureIsGWorld )