|
|
|
@ -3299,6 +3299,7 @@ void Notepad_plus::command(int id)
|
|
|
|
|
NppGUI & nppGUI = const_cast<NppGUI &>((NppParameters::getInstance()).getNppGUI());
|
|
|
|
|
::ShowWindow(_pPublicInterface->getHSelf(), nppGUI._isMaximized?SW_MAXIMIZE:SW_SHOW);
|
|
|
|
|
_dockingManager.showFloatingContainers(true);
|
|
|
|
|
restoreMinimizeDialogs();
|
|
|
|
|
fileNew();
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
@ -3308,6 +3309,7 @@ void Notepad_plus::command(int id)
|
|
|
|
|
NppGUI & nppGUI = const_cast<NppGUI &>((NppParameters::getInstance()).getNppGUI());
|
|
|
|
|
::ShowWindow(_pPublicInterface->getHSelf(), nppGUI._isMaximized?SW_MAXIMIZE:SW_SHOW);
|
|
|
|
|
_dockingManager.showFloatingContainers(true);
|
|
|
|
|
restoreMinimizeDialogs();
|
|
|
|
|
|
|
|
|
|
// Send sizing info to make window fit (specially to show tool bar. Fixed issue #2600)
|
|
|
|
|
::SendMessage(_pPublicInterface->getHSelf(), WM_SIZE, 0, 0);
|
|
|
|
@ -3319,6 +3321,8 @@ void Notepad_plus::command(int id)
|
|
|
|
|
NppGUI & nppGUI = const_cast<NppGUI &>((NppParameters::getInstance()).getNppGUI());
|
|
|
|
|
::ShowWindow(_pPublicInterface->getHSelf(), nppGUI._isMaximized?SW_MAXIMIZE:SW_SHOW);
|
|
|
|
|
_dockingManager.showFloatingContainers(true);
|
|
|
|
|
restoreMinimizeDialogs();
|
|
|
|
|
|
|
|
|
|
BufferID bufferID = _pEditView->getCurrentBufferID();
|
|
|
|
|
Buffer * buf = MainFileManager.getBufferByID(bufferID);
|
|
|
|
|
if (!buf->isUntitled() || buf->docLength() != 0)
|
|
|
|
@ -3334,6 +3338,7 @@ void Notepad_plus::command(int id)
|
|
|
|
|
NppGUI & nppGUI = const_cast<NppGUI &>((NppParameters::getInstance()).getNppGUI());
|
|
|
|
|
::ShowWindow(_pPublicInterface->getHSelf(), nppGUI._isMaximized?SW_MAXIMIZE:SW_SHOW);
|
|
|
|
|
_dockingManager.showFloatingContainers(true);
|
|
|
|
|
restoreMinimizeDialogs();
|
|
|
|
|
|
|
|
|
|
// Send sizing info to make window fit (specially to show tool bar. Fixed issue #2600)
|
|
|
|
|
::SendMessage(_pPublicInterface->getHSelf(), WM_SIZE, 0, 0);
|
|
|
|
|