Allow working directory to be deleted

Ideas for new features

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply

How important is this feature for future versions of TextPad?

Important, even if the size/efficiency of TextPad increases/degrades
6
43%
Somewhat important
3
21%
I'm okay either way
3
21%
Somewhat unimportant
1
7%
Unimportant, even if the size/efficiency of TextPad remains unaffected
1
7%
 
Total votes: 14

User avatar
jeffy
Posts: 323
Joined: Mon Mar 03, 2003 9:04 am
Location: Philadelphia

Allow working directory to be deleted

Post by jeffy »

As discussed in this thread, it is not possible to delete the "current working" directory, even if no documents are open in TextPad.

Therefore, when the last document is closed, I recommend the current working directory change to the one in which TextPad was installed. But remember the "actual" current working directory, as it was before the last document was closed.

Then, if you call the "open" command, switch the working directory back to the "actual" one before triggering the open dialog. If the directory doesn't exist, give this dialog instead:

Code: Select all

Working directory does not exist.  From which directory do you wish to open a document?

Button1:  <The working directory (recreate it first)>
Button2:  <The default/startup directory>
Button3:  <Browse...>
I'd say button 2 is the default.

I think this is a great idea. Thanks to gormania for sparking it in me! :' )
Dcantor
Posts: 18
Joined: Wed Sep 03, 2003 3:30 pm
Location: Groton, CT

Alternate suggestion

Post by Dcantor »

I'd much rather see a history of recently used directories and the ability to choose from that list.
Dave C.
Groton, CT
Post Reply