[Lazarus] Desktops and multiple source editors

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Sep 10 01:32:10 CEST 2015

On Thu, 10 Sep 2015 00:42:55 +0200
Ondrej Pokorny <lazarus at kluug.net> wrote:

> On 10.09.2015 00:26, Mattias Gaertner wrote:
> > On Thu, 10 Sep 2015 00:13:24 +0200
> > Ondrej Pokorny <lazarus at kluug.net> wrote:
> >
> >> 2.) The visibility is controlled by the fact if the package is open or
> >> not. The desktop cannot reopen packages, obviously.It doesn't store the file info of the package. It is also not expected.
> > Why not?
> > The window has the name PackageEditor_ToDoListLaz, so you have the
> > package name. That is all you need to load the package.
> Ok, then it is possible to reopen a package. But still I don't think 
> reopening/closing of packages on desktop change is a good idea. A 
> package is kind of "project" and should be completely independent on 
> desktop, the same like the active LPR project is.
> Imagine e.g. that you (accidentally) save a debug desktop with a 
> package. Should it be reopened every time you start debugging?

Speaking for myself:
When I close the IDE with some packages open, it should
reopen them on next start.
I have no preference if switching between editing/debug view should
keep packages open or hide and restore them.


More information about the Lazarus mailing list