Getting a pointer to the current main editor window in a plugin?

Sigh I totally fubared the title of this thread and can’t seem to fix it. It shoul dhave read "Getting a pointer to the current main editor World in a plugin? "