Why does PB always open a new document?

Working on new editor enhancements?
uwekel
Enthusiast
Enthusiast
Posts: 740
Joined: Sat Dec 03, 2011 5:54 pm
Location: Oldenburg (Germany)

Why does PB always open a new document?

Post by uwekel »

Hi,

the Purebasic IDE always opens a new document if the last opened document will be closed. For me it is often very annoying. A new option to disable this "feature" would be highly appreciated :-)

Best regards
Uwe.
PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Re: Why does PB always open a new document?

Post by Trond »

How can that possibly be annoying? After all, if you proceed to open an existing file, the new document is closed automatically.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: Why does PB always open a new document?

Post by ts-soft »

If the IDE open without any Tab, that looks very bad :mrgreen: ,
and as trond say, this tab is closed automatically if you don't use it and open
another file.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
infratec
Always Here
Always Here
Posts: 7619
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Why does PB always open a new document?

Post by infratec »

Why does PB always open a new document?
The answer is simple:

To make live easier :D

So you don't have to open a 'new' one manually.

Bernd
uwekel
Enthusiast
Enthusiast
Posts: 740
Joined: Sat Dec 03, 2011 5:54 pm
Location: Oldenburg (Germany)

Re: Why does PB always open a new document?

Post by uwekel »

Hi,

yes, the new document will automatically be closed if another file will be opened. That's good! Unfortunately it does not work with projects, e.g. you have a project opened and closed the last document, then a new document appears, but if you now open a project related document from the project tab by double-clicking the file, the new tab remains open. It should be closed as well.

Best regards,
Uwe
PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Re: Why does PB always open a new document?

Post by Trond »

That sounds annoying. I think it's better to close the new document in this case as well, rather than never opening a new document.
uwekel
Enthusiast
Enthusiast
Posts: 740
Joined: Sat Dec 03, 2011 5:54 pm
Location: Oldenburg (Germany)

Re: Why does PB always open a new document?

Post by uwekel »

That is what i ment, too.
PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2
Post Reply