On Thu, 10 Sep 2015, Mattias Gaertner wrote:

On Thu, 10 Sep 2015 10:25:15 +0200 (CEST)
Michael Van Canneyt <mich...@freepascal.org> wrote:

[...]
For the project session you can currently specify that only forms belonging
to the project should be included in the session.
(I always set this to on, because opening 100+ units at startup is really 
counter-productive).

I'm not sure if you are mixing things up or if you found a bug.
The IDE only reopens what you had open.

Not if  "Save editor info only for project files" was set ?
I just tested. 1. Project open: some files are loaded.
2. open some additional files.
3. Reopen project: only files opened in step 1 are re-opened.

This is as it should be IMHO.

The global option "Open designer when open unit" automatically opens
the designer form when opening a form unit.
The project option "Save editor info only for project files" stores
for non project files the editor position (e.g. caret, bookmarks,
foldings) and if the file was open in the source editor.


I think the same should be done for packages: packages that are in the project 
dependencies
and were open the last time the project was open, should be opened again.

Or all packages should be opened.

I fail to imagine that someone wants to open all package
editors.

Me too :) I was imprecise, it should have been: 'all previously opened packages should be opened'

Michael.

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to