Turn on flag 'Locked' if TimeOutSaveMsg is enabled.
This commit is contained in:
parent
14d947467e
commit
98373720af
@ -10,6 +10,7 @@ _____________________________________________________________________________
|
||||
‡ ¬¥β<C2A5>¨ ¤«ο GoldED+ 1.1.5, /snapshot/
|
||||
_____________________________________________________________________________
|
||||
|
||||
+ …ב«¨ TimeOutSaveMsg ¢×«מח¥, ג® ב®®¡י¥¨¥ ב®וא ¨גבן ב ה« £®¬ 'Locked'.
|
||||
- „®―®«¨β¥«μ ο ―ΰ®Ά¥ΰ<C2A5> β®<CEB2>¥ ST_EDITSTATUS.
|
||||
- <20>α―ΰ Ά«¥ ®θ¨΅<C2A8> ―ΰ¨Ά®¤οι ο <20> Ά¥η®¬γ ζ¨<CEB6>«γ, ¥α«¨ δ ¨« ¤«ο β®<CEB2>¥ @random
|
||||
¥ ΅λ« ©¤¥.
|
||||
|
@ -10,6 +10,8 @@ ______________________________________________________________________
|
||||
Notes for GoldED+ 1.1.5, /snapshot/
|
||||
______________________________________________________________________
|
||||
|
||||
+ Turn on flag 'Locked' if TimeOutSaveMsg is enabled.
|
||||
|
||||
- Additional check of token ST_EDITSTATUS.
|
||||
|
||||
- Fixed infinite loop when parsing template, if @random token file
|
||||
|
@ -1955,12 +1955,22 @@ void IEclass::AskExit() {
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
void IEclass::QuitNow() {
|
||||
|
||||
void IEclass::QuitNow()
|
||||
{
|
||||
GFTRK("EditQuitNow");
|
||||
|
||||
quitnow = CFG->switches.get(timeoutsavemsg) ? NO : YES;
|
||||
done = CFG->switches.get(timeoutsavemsg) ? MODE_SAVE : MODE_QUIT;
|
||||
if (CFG->switches.get(timeoutsavemsg))
|
||||
{
|
||||
quitnow = NO;
|
||||
done = MODE_SAVE;
|
||||
msgptr->attr.lok1();
|
||||
}
|
||||
else
|
||||
{
|
||||
quitnow = YES;
|
||||
done = MODE_QUIT;
|
||||
}
|
||||
|
||||
gkbd.quitall = YES;
|
||||
|
||||
GFTRK(0);
|
||||
@ -1977,4 +1987,3 @@ int EditMsg(int __mode, uint* __position, GMsg* __msg) {
|
||||
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user