[RELEASE] release (fix restore window bug).
Signed-off-by: Don HO <don.h@free.fr> git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@509 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
26334291d8
commit
5fbda7b270
|
@ -15,7 +15,6 @@ Notepad++ v5.4.4 fixed bugs (from v5.4.3) :
|
|||
13. Fix the bug that Notepad++ does not show on while it is minimized and its file is modified from outside.
|
||||
|
||||
|
||||
|
||||
Notepad++ v5.4.3 fixed bugs (from v5.4.2) :
|
||||
|
||||
1. Fix clickable link styling bug.
|
||||
|
|
Binary file not shown.
|
@ -8530,8 +8530,6 @@ LRESULT Notepad_plus::runProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lPa
|
|||
{
|
||||
_activeAppInf._isActivated = true;
|
||||
checkModifiedDocument();
|
||||
if (::IsIconic(_hSelf))
|
||||
::ShowWindow(_hSelf, SW_RESTORE);
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
@ -9718,6 +9716,8 @@ void Notepad_plus::notifyBufferChanged(Buffer * buffer, int mask) {
|
|||
int curPos = _pEditView->execute(SCI_GETCURRENTPOS);
|
||||
::PostMessage(_pEditView->getHSelf(), WM_LBUTTONUP, 0, 0);
|
||||
::PostMessage(_pEditView->getHSelf(), SCI_SETSEL, curPos, curPos);
|
||||
if (::IsIconic(_hSelf))
|
||||
::ShowWindow(_hSelf, SW_RESTORE);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -194,10 +194,8 @@ bool Buffer::checkFileState() { //returns true if the status has been changed (i
|
|||
doNotify(mask);
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -370,7 +368,7 @@ void FileManager::init(Notepad_plus * pNotepadPlus, ScintillaEditView * pscratch
|
|||
|
||||
void FileManager::checkFilesystemChanges() {
|
||||
for(size_t i = 0; i < _nrBufs; i++) {
|
||||
if (_buffers[i]->checkFileState()){} //something has changed. Triggers update automatically
|
||||
_buffers[i]->checkFileState(); //something has changed. Triggers update automatically
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue