Re: c global var getting locked to a window?

2015-07-09 Thread john lunzer
Thank you a bunch Jacob! This fixed my problem in the short term! Works as you said. Edward/Terry, can you help explain what is happening and what is a more Leonic way of dealing with this issue. On Thursday, July 9, 2015 at 4:19:32 PM UTC-4, Jacob Peck wrote: > > It's a bit hacky, but you can

Re: c global var getting locked to a window?

2015-07-09 Thread gatesphere
It's a bit hacky, but you can replace 'c' with 'g.app.log.c' to get the current active commander. I think. YMMV. -->Jake On 7/9/2015 3:22 PM, john lunzer wrote: 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 persis

c global var getting locked to a window?

2015-07-09 Thread john lunzer
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 wi