I'm working on a plugin that right now I have implemented as a @command. 
I'm creating a floating window that I would like to persist across 
outlines. After creation I'm storing that window 
in g.app.permanentScriptDict. Every time I run the command I look in 
g.app.permanentScriptDict 
for the window's key and then re-engage the window. 

The problem I am facing is that after creation when I reference the c 
global variable anywhere in the command/script it always things it's the c 
from the outline the window was first init-ed in. I'm not saving c 
anywhere. I'm confused because I thought c was supposed to refer to the 
current commander. 

I'm sure there is some detail of Leo that is simply escaping my 
understanding but I'm thoroughly confused. Any light shed on this would be 
awesome and much appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to