AkelPad Forum Index AkelPad
Support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

File Save not working on new documents

 
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (English)
View previous topic :: View next topic  
Author Message
danf84



Joined: 14 Mar 2011
Posts: 14

PostPosted: Tue Sep 04, 2012 1:24 pm    Post subject: File Save not working on new documents Reply with quote

Any idea why CTRL + S/File Save doesn't work when creating a new document? It appears grayed out. I sometimes create a document before I start editing it. It's a minor thing, but the logic of this feature - which seems like someone's clever idea - is beyond me.
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5293

PostPosted: Tue Sep 04, 2012 2:23 pm    Post subject: Reply with quote

danf84
Changed. Now "Save" will be available for a new unchanged document.
Back to top
View user's profile Send private message Send e-mail
FeyFre



Joined: 07 Aug 2007
Posts: 2034
Location: Vinnitsa, Ukraine

PostPosted: Tue Sep 04, 2012 4:04 pm    Post subject: Reply with quote

Instructor, I hope it will be optional and NOT default behaviour?
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
danf84



Joined: 14 Mar 2011
Posts: 14

PostPosted: Wed Sep 05, 2012 2:21 pm    Post subject: Reply with quote

@FeyFre If it is to become optional, the default should be the standard behaviour (which is to be able to save even an empty document, for the purposes of creating the file physically).
Back to top
View user's profile Send private message
FeyFre



Joined: 07 Aug 2007
Posts: 2034
Location: Vinnitsa, Ukraine

PostPosted: Wed Sep 05, 2012 2:30 pm    Post subject: Reply with quote

danf84, save what? Nothing? You can do it without AP:
Code:
copy nul "filename"

Standard behaviour is "no changes - no urgency to save". Will you provide me and whoever ask you with extra flash devices, because of your "Standard behaviour" which is destructible for devices with limited write cycles?
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5293

PostPosted: Thu Sep 06, 2012 2:28 pm    Post subject: Reply with quote

FeyFre
All that was changed:
AkelPad.c wrote:
EnableMenuItem(hMainMenu, IDM_FILE_SAVE, (lpFrameCurrent->ei.bModified || !lpFrameCurrent->wszFile[0])?MF_ENABLED:MF_GRAYED);
Back to top
View user's profile Send private message Send e-mail
brad000123



Joined: 02 Nov 2012
Posts: 1
Location: new york

PostPosted: Fri Nov 02, 2012 6:14 am    Post subject: Reply with quote

Instructor thank you tip work for me
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (English) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


SourceForge.net Logo Powered by phpBB © 2001, 2005 phpBB Group