← Back to team overview

kicad-developers team mailing list archive

Re: Static variables in module editor

 

On Tue, Jun 10, 2014 at 08:58:04PM +0200, jp charras wrote:
> when reopening an editor, reopen the latest document(s) previously
> opened makes sense, and moreover is a common feature in many editors.
> My text editor does that, and this feature save a lot of time for me.
> And Kicad too, which reopens the latest project.
> By the way, Altium also does that.

I think that to 'solve' this we should decide if there could be more
than one open editor. What if I open a new one, then close both, and
then open another? There are two 'last' objects in this case...

If the 'reopen last' feature is desired then the project object could be
a good place to store it. When used standalone (for library edit only)
some kind of noname/dummy project could be provided for it. Or maybe
only keep the last for edits done in the context of a project (no
project->no place to store the last one).

-- 
Lorenzo Marcantonio
Logos Srl


Follow ups

References