[Lazarus] Close all menu item ?

Ondrej Pokorny lazarus at kluug.net
Mon Mar 23 13:34:04 CET 2020

On 23.03.2020 10:59, Michael Van Canneyt via lazarus wrote:
> On Mon, 23 Mar 2020, Ondrej Pokorny via lazarus wrote:
>> On 23.03.2020 10:23, Michael Van Canneyt via lazarus wrote:
>>> "Close all" in the file menu does not close the project inspector 
>>> (and, I
>>> suppose, the project)
>>> Is this by design ? I'm asking because in Delphi 'Close all' really 
>>> closes "all".
>> Hello,
>> yes this difference is by design. To close the project in Lazarus IDE 
>> you have to execute Project -> "Close Project" from the menu. File -> 
>> "Close all" closes all open editors.
> OK, thank you.
> Any particular reason for this behaviour ? It seems a bit strange to 
> me to treat the project differently.

This feature is not from me. I was hit by it as well when I started 
using Lazarus. AFAIR it's been always so. I got used to it and I find it 

I set up Lazarus to remember open editors (to reopen them when a project 
is opened) and so after some time the count of open editors grows a lot. 
This is a way to close all editors easily and have a clean source 
editor. On the contrary, If I want to close the project and keep the 
open editors remembered, I use the "Close Project" menu item.

So for me Delphi should fix their behavior to match Lazarus :)


More information about the lazarus mailing list