[RELEASE_44] v4.4 OR.
Add NPPN_SHUTDOWN notification. git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@53 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
a5ec85b4b6
commit
86855be790
@ -1,17 +1,12 @@
|
||||
Notepad++ v4.3 fixed bugs and added features (from v4.2.2) :
|
||||
Notepad++ v4.4 fixed bugs and added features (from v4.3) :
|
||||
|
||||
1. Add auto-add extension feature in file save dialog.
|
||||
2. Fix crash issue while file is deleted outside (answer NO to popup dialog to not keep) and the silence update option is on.
|
||||
3. Add Session Restore with Sub-View Settings feature.
|
||||
4. Fix the Notepad++ getting focus problem while find dialog is activated.
|
||||
5. Fix unwanted selection after popup dialog (keep file) when the file opened is deleted.
|
||||
6. Add NPPN_FILEBEFOREOPENED, NPPN_FILECLOSED, NPPN_FILESAVED, NPPN_FILEBEFORESAVE and NPPN_SHUTDOWN plugin notifications.
|
||||
|
||||
1. Fix the crash bug due to the corrupted configuration file (config.xml and session.xml).
|
||||
2. Fix the crash bug while the shortcut command is absent in shortcut.xml.
|
||||
3. Fix the file status auto-detection bug : a unwanted selection after a pop-up dialog.
|
||||
4. Enhance Styler Configurator : the visual effect is updated immediately while the setting is changing.
|
||||
5. Add Global override feature (in Styler Configurator).
|
||||
6. Fix the bold/italic/underline refresh problem in Stylers Configurator for Scintilla component.
|
||||
7. Add hide lines feature (Menu : View->Hide lines).
|
||||
8. Add new capacity (optional setting in Preferences dialog : Backup/Auto-completion tab) to trigger Auto-Completion(Function Completion or Word completion) automatically .
|
||||
9. The set languages in session are remembered now.
|
||||
10. Fix the Move down current line bug.
|
||||
11. Add the start up with no plugins feature (command line : notepad++ -noPlugins).
|
||||
12. Fix the display file type bug on the status bar while switching between the files.
|
||||
|
||||
Included plugins :
|
||||
|
||||
@ -19,7 +14,7 @@ Included plugins :
|
||||
2. Function list v1.2
|
||||
3. ConvertExt v1.1
|
||||
4. NppExec v0.2 beta 4
|
||||
5. Spell checker v1.1
|
||||
5. Spell checker v1.2
|
||||
6. Quick text v0.02
|
||||
7. Light Explorer v1.4
|
||||
8. Hex editor v0.84
|
||||
|
@ -231,4 +231,10 @@ enum winVer{WV_UNKNOWN, WV_WIN32S, WV_95, WV_98, WV_ME, WV_NT, WV_W2K, WV_XP, WV
|
||||
//scnNotification->nmhdr.hwndFrom = hwndNpp;
|
||||
//scnNotification->nmhdr.idFrom = 0;
|
||||
|
||||
|
||||
#define NPPN_SHOUTDOWN (NPPN_FIRST + 9) // To notify plugins that Notepad++ is about to be shutdowned.
|
||||
//scnNotification->nmhdr.code = NPPN_SHOUTDOWN;
|
||||
//scnNotification->nmhdr.hwndFrom = hwndNpp;
|
||||
//scnNotification->nmhdr.idFrom = 0;
|
||||
|
||||
#endif //NOTEPAD_PLUS_MSGS_H
|
||||
|
@ -3985,6 +3985,8 @@ bool Notepad_plus::fileClose()
|
||||
{
|
||||
_pDocTab->closeCurrentDoc();
|
||||
hideCurrentView();
|
||||
scnN.nmhdr.code = NPPN_FILECLOSED;
|
||||
_pluginsManager.notify(&scnN);
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -6636,6 +6638,12 @@ LRESULT Notepad_plus::runProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lPa
|
||||
case WM_QUERYENDSESSION:
|
||||
case WM_CLOSE:
|
||||
{
|
||||
SCNotification scnN;
|
||||
scnN.nmhdr.code = NPPN_SHOUTDOWN;
|
||||
scnN.nmhdr.hwndFrom = _hSelf;
|
||||
scnN.nmhdr.idFrom = 0;
|
||||
_pluginsManager.notify(&scnN);
|
||||
|
||||
if (_isfullScreen)
|
||||
fullScreenToggle();
|
||||
|
||||
|
@ -291,11 +291,8 @@ public:
|
||||
vPluginDockInfo.push_back(nppGUI._dockingData._pluginDockInfo[i]);
|
||||
}
|
||||
}
|
||||
//printInt(5);
|
||||
//delete [] floatContArray;
|
||||
//printInt(6);
|
||||
|
||||
nppGUI._dockingData._pluginDockInfo = vPluginDockInfo;
|
||||
//printInt(7);
|
||||
nppGUI._dockingData._flaotingWindowInfo = vFloatingWindowInfo;
|
||||
};
|
||||
|
||||
|
@ -21,7 +21,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
#include "resource.h"
|
||||
#include "menuCmdID.h"
|
||||
|
||||
#define NOTEPAD_PLUS_VERSION "Notepad++ v4.3"
|
||||
#define NOTEPAD_PLUS_VERSION "Notepad++ v4.4"
|
||||
#define VERSION_VALUE "4.4\0"
|
||||
#define VERSION_DIGITALVALUE 4, 4, 0, 0
|
||||
|
||||
|
@ -3051,9 +3051,17 @@ LRESULT CALLBACK GridProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
|
||||
if(CountGrids()==1)
|
||||
{
|
||||
hfontbody=CreateFont(16,0,0, 0,100,FALSE,FALSE,FALSE,ANSI_CHARSET,OUT_DEFAULT_PRECIS,CLIP_DEFAULT_PRECIS,PROOF_QUALITY,VARIABLE_PITCH|FF_MODERN ,"MS Shell Dlg");
|
||||
hfontheader=CreateFont(18,0,0, 0,FW_HEAVY,FALSE,FALSE,FALSE,ANSI_CHARSET,OUT_DEFAULT_PRECIS,CLIP_DEFAULT_PRECIS,PROOF_QUALITY,VARIABLE_PITCH|FF_MODERN ,"MS Shell Dlg");
|
||||
hfonttitle=CreateFont(20,0,0, 0,FW_HEAVY,FALSE,FALSE,FALSE,ANSI_CHARSET,OUT_DEFAULT_PRECIS,CLIP_DEFAULT_PRECIS,PROOF_QUALITY,VARIABLE_PITCH|FF_MODERN ,"MS Shell Dlg");
|
||||
hfontbody=CreateFont(16,0,0, 0,
|
||||
100,
|
||||
FALSE,
|
||||
FALSE,FALSE,ANSI_CHARSET,
|
||||
OUT_DEFAULT_PRECIS,
|
||||
CLIP_DEFAULT_PRECIS,
|
||||
0,
|
||||
0 ,
|
||||
"MS Shell Dlg");
|
||||
hfontheader=CreateFont(18,0,0, 0,FW_HEAVY,FALSE,FALSE,FALSE,ANSI_CHARSET,OUT_DEFAULT_PRECIS,CLIP_DEFAULT_PRECIS,0,0,"MS Shell Dlg");
|
||||
hfonttitle=CreateFont(20,0,0, 0,FW_HEAVY,FALSE,FALSE,FALSE,ANSI_CHARSET,OUT_DEFAULT_PRECIS,CLIP_DEFAULT_PRECIS,0,0,"MS Shell Dlg");
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user