Page 1 of 1
[Done since PB6.00] Close Empty <New>* file without question?
Posted: Sun Feb 28, 2021 6:04 pm
by Axolotl
Hi there,
a new created file (TAB: <New>) is closed by click on Tab-X without the question dialog "This new file has not been saved yet. Do you want to save it now?" -> That is perfect.
Unfortunately if you changed the context and erased it afterwards the question dialog (see above) shows up.
My little Idea for improvement: With an empty file (TAB: <New>*) don't show the question dialog.
Thanks in advance.
Re: Close Empty <New>* file without question?
Posted: Mon Mar 01, 2021 12:24 am
by kenmo
+1
Makes sense. "Do you want to save this new, totally-empty source?" does seem unnecessary.
I just wrote a patch now, and will submit via GitHub.

Re: Close Empty <New>* file without question?
Posted: Mon Mar 01, 2021 12:41 am
by Axolotl
Hi kenmo,
whow, thats fast. I appreciate your support on the IDE really. Thanks.
Re: Close Empty <New>* file without question?
Posted: Mon Mar 01, 2021 12:59 am
by kenmo
You have good timing, I am getting back to work on the PB IDE again.
Also this was a request I agree with, and easy to implement!
Submitted as PR #146
https://github.com/fantaisie-software/p ... c/pull/146
Re: Close Empty <New>* file without question?
Posted: Mon Mar 01, 2021 2:56 am
by BarryG
kenmo wrote:I am getting back to work on the PB IDE again.
Could you maybe implement this, then? ->
viewtopic.php?f=18&t=76794
It's a very simple thing to do. Thanks if you can. If not, would you be able to one day write a tutorial on editing the IDE, so that people like me can do it? Thanks.
Re: Close Empty <New>* file without question?
Posted: Fri May 13, 2022 11:09 am
by Axolotl
this request made it in the PB 6.00 BETA.
I was really suprised, because of the discussions on github.
Anyway. I like this. Suits my working behavior.
Thank you kenmo for implementing this.