[RELEASE_4_8] Notepad++ v4.8 OR.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@138 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
donho 2008-02-27 00:07:53 +00:00
parent 4cce0e45f7
commit 2b1e41512f
7 changed files with 148 additions and 87 deletions

View File

@ -1,22 +1,38 @@
Notepad++ v4.7.5 fixed bugs and added features (from v4.7.3) : Notepad++ v4.8 fixed bugs and added features (from v4.7.5) :
1. Enhance Shortcut Mapper - all the commands (including plugins commands) can be assigned to a shortcut, even for the unmapped ones.
2. Upgrade Scintilla from v1.73 to v1.75
3. Add multi-line and vertical capacity for tab bar.
4. Add launch "as notepad" style feature (detection of asNotepad.xml, then launch notepad++ with -multiInst -nosession -notabbar options).
5. Add detection mouse wheel on the different view feature : User can scroll edit view when mouse on it, it's not necessary to set edit view as current view to scroll it.
6. Add clicking middle mouse button click to set current view feature : make clicked edit view be focused, but the cursor position does not change.
7. Add mouse wheel horizontal scroll feature (vista only).
8. Add mouse browsing (forward/back for switching to next/previous document) feature.
9. Make orange indicator on the top of tab lighter when the view loss the focus.
10. Add new look and feel of Docking container.
11. Fix word-completion crash bug while the word to complete exceeds 256 characters.
12. Fix full screen mode bug : can not switch applications by using Alt+TAB in full screen mode.
13. Fix Preference crash bug.
14. Add the utf8->ansi / ansi->utf8 conversion feature.
15. Add Go to offset feature (in Go To Line dialog).
16. Fix folding bugs while deleting the begin/end folding keywords.
17. Fix position restored bug : Wrap position is restored correctly while switching back document.
18. Fix locking current directory behaviour : Restore Notepad++ directory as working directory with no open files.
19. Fix the multi-line tab height display problem while adding/removing the document.
20. Enhance the auto-completion feature : user can define the number of characters to trigger auto-completion popup window.
21. Change the horizontal scroll behaviour from dynamic one to static one.
22. Fix the bug that cannot save file(s) if application closed while minimized.
1. Fix invisible tabs bug while closing.
2. Fix the horizon scroll bar flicker bug.
3. Fix the full screen (F11) bug regarding multi-display issue
4. Explorer context menu is available under xp 64 bits et vista 64 bits.
5. Add YAML language.
6. Fix the crash issue of window dialog while clicking Sort button without selected item.
7. Enhance Sort feature GUI part - Enable Sort button only after clicking on the column tab; Disable Sort button after sorting.
Included plugins : Included plugins :
1. TexFX v0.24a 1. TexFX v0.24a
2. NppExec v0.2 RC2 2. NppExec v0.2 RC3.2
3. Spell Checker v1.3.1 3. Spell Checker v1.3.1
4. Quick text v0.02 4. Explorer plugin v1.7.1
5. Explorer plugin v1.6.1 5. Hex editor v0.84
6. Hex editor v0.84 6. Base64 encoder/decoder v1.2
7. Base64 encoder/decoder v1.2 7. FTP_synchronize v0.9.6
8. FTP_synchronize v0.9.6 8. NppExport v0.2.7
9. NppExport v0.2.5.0 9. Compare plugin v1.5.1

View File

@ -17,16 +17,16 @@
; Define the application name ; Define the application name
!define APPNAME "Notepad++" !define APPNAME "Notepad++"
!define APPNAMEANDVERSION "Notepad++ v4.7.5" !define APPNAMEANDVERSION "Notepad++ v4.8"
!define VERSION_MAJOR 4 !define VERSION_MAJOR 4
!define VERSION_MINOR 75 !define VERSION_MINOR 8
; Main Install settings ; Main Install settings
Name "${APPNAMEANDVERSION}" Name "${APPNAMEANDVERSION}"
InstallDir "$PROGRAMFILES\Notepad++" InstallDir "$PROGRAMFILES\Notepad++"
InstallDirRegKey HKLM "Software\${APPNAME}" "" InstallDirRegKey HKLM "Software\${APPNAME}" ""
OutFile "..\bin\npp.4.7.5.Installer.exe" OutFile "..\bin\npp.4.8.Installer.exe"
@ -601,9 +601,11 @@ SubSection "Plugins" Plugins
SetOutPath "$INSTDIR\plugins\NPPTextFX" SetOutPath "$INSTDIR\plugins\NPPTextFX"
File "..\bin\plugins\NPPTextFX\AsciiToEBCDIC.bin" File "..\bin\plugins\NPPTextFX\AsciiToEBCDIC.bin"
File "..\bin\plugins\NPPTextFX\libTidy.dll" File "..\bin\plugins\NPPTextFX\libTidy.dll"
File "..\bin\plugins\NPPTextFX\NPPTextFXdemo.TXT"
File "..\bin\plugins\NPPTextFX\W3C-CSSValidator.htm" File "..\bin\plugins\NPPTextFX\W3C-CSSValidator.htm"
File "..\bin\plugins\NPPTextFX\W3C-HTMLValidator.htm" File "..\bin\plugins\NPPTextFX\W3C-HTMLValidator.htm"
SetOutPath "$INSTDIR\plugins\doc"
File "..\bin\plugins\doc\NPPTextFXdemo.TXT"
SectionEnd SectionEnd
/* /*
Section "Function List" FunctionList Section "Function List" FunctionList
@ -654,7 +656,7 @@ SubSection "Plugins" Plugins
File "..\bin\plugins\doc\NppExec.txt" File "..\bin\plugins\doc\NppExec.txt"
File "..\bin\plugins\doc\NppExec_TechInfo.txt" File "..\bin\plugins\doc\NppExec_TechInfo.txt"
SectionEnd SectionEnd
/*
Section "QuickText" QuickText Section "QuickText" QuickText
Delete "$INSTDIR\plugins\QuickText.dll" Delete "$INSTDIR\plugins\QuickText.dll"
SetOutPath "$INSTDIR\plugins" SetOutPath "$INSTDIR\plugins"
@ -664,7 +666,7 @@ SubSection "Plugins" Plugins
SetOutPath "$INSTDIR\plugins\doc" SetOutPath "$INSTDIR\plugins\doc"
File "..\bin\plugins\doc\quickText_README.txt" File "..\bin\plugins\doc\quickText_README.txt"
SectionEnd SectionEnd
*/
Section "NppTools" NppTools Section "NppTools" NppTools
Delete "$INSTDIR\plugins\NppTools.dll" Delete "$INSTDIR\plugins\NppTools.dll"
SetOutPath "$INSTDIR\plugins" SetOutPath "$INSTDIR\plugins"
@ -675,6 +677,8 @@ SubSection "Plugins" Plugins
Delete "$INSTDIR\plugins\FTP_synchronizeA.dll" Delete "$INSTDIR\plugins\FTP_synchronizeA.dll"
SetOutPath "$INSTDIR\plugins" SetOutPath "$INSTDIR\plugins"
File "..\bin\plugins\FTP_synchronizeA.dll" File "..\bin\plugins\FTP_synchronizeA.dll"
SetOutPath "$INSTDIR\plugins\doc"
File "..\bin\plugins\doc\FTP_synchonize.ReadMe.txt"
SectionEnd SectionEnd
Section "NppExport" NppExport Section "NppExport" NppExport
@ -683,6 +687,12 @@ SubSection "Plugins" Plugins
File "..\bin\plugins\NppExport.dll" File "..\bin\plugins\NppExport.dll"
SectionEnd SectionEnd
Section "Compare Plugin" ComparePlugin
Delete "$INSTDIR\plugins\ComparePlugin.dll"
SetOutPath "$INSTDIR\plugins"
File "..\bin\plugins\ComparePlugin.dll"
SectionEnd
SubSectionEnd SubSectionEnd
Section /o "As default html viewer" htmlViewer Section /o "As default html viewer" htmlViewer
@ -820,7 +830,7 @@ SubSection un.Plugins
Delete "$APPDATA\Notepad++\NPPTextFX.ini" Delete "$APPDATA\Notepad++\NPPTextFX.ini"
Delete "$INSTDIR\plugins\NPPTextFX\AsciiToEBCDIC.bin" Delete "$INSTDIR\plugins\NPPTextFX\AsciiToEBCDIC.bin"
Delete "$INSTDIR\plugins\NPPTextFX\libTidy.dll" Delete "$INSTDIR\plugins\NPPTextFX\libTidy.dll"
Delete "$INSTDIR\plugins\NPPTextFX\NPPTextFXdemo.TXT" Delete "$INSTDIR\plugins\doc\NPPTextFXdemo.TXT"
Delete "$INSTDIR\plugins\NPPTextFX\W3C-CSSValidator.htm" Delete "$INSTDIR\plugins\NPPTextFX\W3C-CSSValidator.htm"
Delete "$INSTDIR\plugins\NPPTextFX\W3C-HTMLValidator.htm" Delete "$INSTDIR\plugins\NPPTextFX\W3C-HTMLValidator.htm"
@ -871,14 +881,14 @@ SubSection un.Plugins
RMDir "$INSTDIR\plugins\" RMDir "$INSTDIR\plugins\"
RMDir "$INSTDIR\plugins\doc\" RMDir "$INSTDIR\plugins\doc\"
SectionEnd SectionEnd
/*
Section un.QuickText Section un.QuickText
Delete "$INSTDIR\plugins\QuickText.dll" Delete "$INSTDIR\plugins\QuickText.dll"
Delete "$INSTDIR\QuickText.ini" Delete "$INSTDIR\QuickText.ini"
Delete "$INSTDIR\plugins\doc\quickText_README.txt" Delete "$INSTDIR\plugins\doc\quickText_README.txt"
RMDir "$INSTDIR\plugins\" RMDir "$INSTDIR\plugins\"
SectionEnd SectionEnd
*/
Section un.NppTools Section un.NppTools
Delete "$INSTDIR\plugins\NppTools.dll" Delete "$INSTDIR\plugins\NppTools.dll"
RMDir "$INSTDIR\plugins\" RMDir "$INSTDIR\plugins\"
@ -886,6 +896,7 @@ SubSection un.Plugins
Section un.FTP_synchronize Section un.FTP_synchronize
Delete "$INSTDIR\plugins\FTP_synchronizeA.dll" Delete "$INSTDIR\plugins\FTP_synchronizeA.dll"
Delete "$INSTDIR\plugins\doc\FTP_synchonize.ReadMe.txt"
RMDir "$INSTDIR\plugins\" RMDir "$INSTDIR\plugins\"
SectionEnd SectionEnd
@ -893,6 +904,12 @@ SubSection un.Plugins
Delete "$INSTDIR\plugins\NppExport.dll" Delete "$INSTDIR\plugins\NppExport.dll"
RMDir "$INSTDIR\plugins\" RMDir "$INSTDIR\plugins\"
SectionEnd SectionEnd
Section un.ComparePlugin
Delete "$INSTDIR\plugins\ComparePlugin.dll"
RMDir "$INSTDIR\plugins\"
SectionEnd
SubSectionEnd SubSectionEnd
Section un.htmlViewer Section un.htmlViewer

View File

@ -276,6 +276,9 @@ void Notepad_plus::init(HINSTANCE hInst, HWND parent, const char *cmdLine, CmdLi
setTitleWith(_pEditView->getCurrentTitle()); setTitleWith(_pEditView->getCurrentTitle());
if (nppGUI._tabStatus & TAB_MULTILINE)
::SendMessage(_hSelf, WM_COMMAND, IDM_VIEW_DRAWTABBAR_MULTILINE, 0);
// Notify plugins that Notepad++ is ready // Notify plugins that Notepad++ is ready
SCNotification scnN; SCNotification scnN;
scnN.nmhdr.code = NPPN_READY; scnN.nmhdr.code = NPPN_READY;
@ -5989,7 +5992,7 @@ LRESULT Notepad_plus::runProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lPa
TabBarPlus::setDrawTabCloseButton((tabBarStatus & TAB_CLOSEBUTTON) != 0); TabBarPlus::setDrawTabCloseButton((tabBarStatus & TAB_CLOSEBUTTON) != 0);
TabBarPlus::setDbClk2Close((tabBarStatus & TAB_DBCLK2CLOSE) != 0); TabBarPlus::setDbClk2Close((tabBarStatus & TAB_DBCLK2CLOSE) != 0);
TabBarPlus::setVertical((tabBarStatus & TAB_VERTICAL) != 0); TabBarPlus::setVertical((tabBarStatus & TAB_VERTICAL) != 0);
TabBarPlus::setMultiLine((tabBarStatus & TAB_MULTILINE) != 0); //TabBarPlus::setMultiLine((tabBarStatus & TAB_MULTILINE) != 0);
//--Splitter Section--// //--Splitter Section--//
bool isVertical = (nppGUI._splitterPos == POS_VERTICAL); bool isVertical = (nppGUI._splitterPos == POS_VERTICAL);
@ -6053,28 +6056,6 @@ LRESULT Notepad_plus::runProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lPa
//dynamicCheckMenuAndTB(); //dynamicCheckMenuAndTB();
_mainEditView.defineDocType(L_TXT); _mainEditView.defineDocType(L_TXT);
HMENU hMenu = ::GetSubMenu(_mainMenuHandle, MENUINDEX_FILE);
int nbLRFile = pNppParam->getNbLRFile();
int pos = 16;
_lastRecentFileList.initMenu(hMenu, IDM_FILEMENU_LASTONE + 1, pos);
for (int i = 0 ; i < nbLRFile ; i++)
{
string * stdStr = pNppParam->getLRFile(i);
if (nppGUI._checkHistoryFiles)
{
if (PathFileExists(stdStr->c_str()))
{
_lastRecentFileList.add(stdStr->c_str());
}
}
else
{
_lastRecentFileList.add(stdStr->c_str());
}
}
if (nppGUI._isMinimizedToTray) if (nppGUI._isMinimizedToTray)
_pTrayIco = new trayIconControler(_hSelf, IDI_M30ICON, IDC_MINIMIZED_TRAY, ::LoadIcon(_hInst, MAKEINTRESOURCE(IDI_M30ICON)), ""); _pTrayIco = new trayIconControler(_hSelf, IDI_M30ICON, IDC_MINIMIZED_TRAY, ::LoadIcon(_hInst, MAKEINTRESOURCE(IDI_M30ICON)), "");
@ -6131,23 +6112,23 @@ LRESULT Notepad_plus::runProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lPa
} }
//Languages Menu //Languages Menu
hMenu = ::GetSubMenu(_mainMenuHandle, MENUINDEX_LANGUAGE); HMENU hLangMenu = ::GetSubMenu(_mainMenuHandle, MENUINDEX_LANGUAGE);
// Add external languages to menu // Add external languages to menu
for (int i = 0 ; i < pNppParam->getNbExternalLang() ; i++) for (int i = 0 ; i < pNppParam->getNbExternalLang() ; i++)
{ {
ExternalLangContainer & externalLangContainer = pNppParam->getELCFromIndex(i); ExternalLangContainer & externalLangContainer = pNppParam->getELCFromIndex(i);
int numLangs = ::GetMenuItemCount(hMenu); int numLangs = ::GetMenuItemCount(hLangMenu);
char buffer[100]; char buffer[100];
int x; int x;
for(x = 0; (x == 0 || strcmp(externalLangContainer._name, buffer) > 0) && x < numLangs; x++) for(x = 0; (x == 0 || strcmp(externalLangContainer._name, buffer) > 0) && x < numLangs; x++)
{ {
::GetMenuString(hMenu, x, buffer, sizeof(buffer), MF_BYPOSITION); ::GetMenuString(hLangMenu, x, buffer, sizeof(buffer), MF_BYPOSITION);
} }
::InsertMenu(hMenu, x-1, MF_BYPOSITION, IDM_LANG_EXTERNAL + i, externalLangContainer._name); ::InsertMenu(hLangMenu, x-1, MF_BYPOSITION, IDM_LANG_EXTERNAL + i, externalLangContainer._name);
} }
if (nppGUI._excludedLangList.size() > 0) if (nppGUI._excludedLangList.size() > 0)
@ -6156,21 +6137,21 @@ LRESULT Notepad_plus::runProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lPa
{ {
int cmdID = pNppParam->langTypeToCommandID(nppGUI._excludedLangList[i]._langType); int cmdID = pNppParam->langTypeToCommandID(nppGUI._excludedLangList[i]._langType);
char itemName[256]; char itemName[256];
::GetMenuString(hMenu, cmdID, itemName, sizeof(itemName), MF_BYCOMMAND); ::GetMenuString(hLangMenu, cmdID, itemName, sizeof(itemName), MF_BYCOMMAND);
nppGUI._excludedLangList[i]._cmdID = cmdID; nppGUI._excludedLangList[i]._cmdID = cmdID;
nppGUI._excludedLangList[i]._langName = itemName; nppGUI._excludedLangList[i]._langName = itemName;
::DeleteMenu(hMenu, cmdID, MF_BYCOMMAND); ::DeleteMenu(hLangMenu, cmdID, MF_BYCOMMAND);
DrawMenuBar(_hSelf); DrawMenuBar(_hSelf);
} }
} }
// Add User Define Languages Entry // Add User Define Languages Entry
pos = ::GetMenuItemCount(hMenu) - 1; int udlpos = ::GetMenuItemCount(hLangMenu) - 1;
for (int i = 0 ; i < pNppParam->getNbUserLang() ; i++) for (int i = 0 ; i < pNppParam->getNbUserLang() ; i++)
{ {
UserLangContainer & userLangContainer = pNppParam->getULCFromIndex(i); UserLangContainer & userLangContainer = pNppParam->getULCFromIndex(i);
::InsertMenu(hMenu, pos + i, MF_BYPOSITION, IDM_LANG_USER + i + 1, userLangContainer.getName()); ::InsertMenu(hLangMenu, udlpos + i, MF_BYPOSITION, IDM_LANG_USER + i + 1, userLangContainer.getName());
} }
//Plugin menu //Plugin menu
@ -6179,6 +6160,28 @@ LRESULT Notepad_plus::runProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lPa
//Windows menu //Windows menu
_windowsMenu.init(_hInst, _mainMenuHandle, windowTrans.c_str()); _windowsMenu.init(_hInst, _mainMenuHandle, windowTrans.c_str());
//Add recent files
HMENU hFileMenu = ::GetSubMenu(_mainMenuHandle, MENUINDEX_FILE);
int nbLRFile = pNppParam->getNbLRFile();
int pos = 16;
_lastRecentFileList.initMenu(hFileMenu, IDM_FILEMENU_LASTONE + 1, pos);
for (int i = 0 ; i < nbLRFile ; i++)
{
string * stdStr = pNppParam->getLRFile(i);
if (nppGUI._checkHistoryFiles)
{
if (PathFileExists(stdStr->c_str()))
{
_lastRecentFileList.add(stdStr->c_str());
}
}
else
{
_lastRecentFileList.add(stdStr->c_str());
}
}
//The menu is loaded, add in all the accelerators //The menu is loaded, add in all the accelerators
// Update context menu strings // Update context menu strings
@ -6789,6 +6792,21 @@ LRESULT Notepad_plus::runProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lPa
return TRUE; return TRUE;
} }
case WM_APPCOMMAND :
{
switch(GET_APPCOMMAND_LPARAM(lParam))
{
case APPCOMMAND_BROWSER_BACKWARD :
case APPCOMMAND_BROWSER_FORWARD :
int nbDoc = _mainDocTab.isVisible()?_mainEditView.getNbDoc():0;
nbDoc += _subDocTab.isVisible()?_subEditView.getNbDoc():0;
if (nbDoc > 1)
activateNextDoc((GET_APPCOMMAND_LPARAM(lParam) == APPCOMMAND_BROWSER_FORWARD)?dirDown:dirUp);
_linkTriggered = true;
}
return TRUE;
}
case NPPM_GETNBSESSIONFILES : case NPPM_GETNBSESSIONFILES :
{ {
const char *sessionFileName = (const char *)lParam; const char *sessionFileName = (const char *)lParam;

View File

@ -56,8 +56,6 @@ WinMenuKeyDefinition winKeyDefs[] = { //array of accelerator keys for all std me
{VK_NULL, IDM_FILE_SAVESESSION, false, false, false, NULL}, {VK_NULL, IDM_FILE_SAVESESSION, false, false, false, NULL},
{VK_P, IDM_FILE_PRINT, true, false, false, NULL}, {VK_P, IDM_FILE_PRINT, true, false, false, NULL},
{VK_NULL, IDM_FILE_PRINTNOW, false, false, false, NULL}, {VK_NULL, IDM_FILE_PRINTNOW, false, false, false, NULL},
{VK_NULL, IDM_OPEN_ALL_RECENT_FILE, false, false, false, "Open All Recent Files"},
{VK_NULL, IDM_CLEAN_RECENT_FILE_LIST, false, false, false, "Clean Recent Files List"},
{VK_F4, IDM_FILE_EXIT, false, true, false, NULL}, {VK_F4, IDM_FILE_EXIT, false, true, false, NULL},
// {VK_NULL, IDM_EDIT_UNDO, false, false, false, NULL}, // {VK_NULL, IDM_EDIT_UNDO, false, false, false, NULL},
@ -153,6 +151,11 @@ WinMenuKeyDefinition winKeyDefs[] = { //array of accelerator keys for all std me
{VK_NULL, IDM_FORMAT_AS_UTF_8, false, false, false, NULL}, {VK_NULL, IDM_FORMAT_AS_UTF_8, false, false, false, NULL},
{VK_NULL, IDM_FORMAT_UCS_2BE, false, false, false, NULL}, {VK_NULL, IDM_FORMAT_UCS_2BE, false, false, false, NULL},
{VK_NULL, IDM_FORMAT_UCS_2LE, false, false, false, NULL}, {VK_NULL, IDM_FORMAT_UCS_2LE, false, false, false, NULL},
{VK_NULL, IDM_FORMAT_CONV2_ANSI, false, false, false, NULL},
{VK_NULL, IDM_FORMAT_CONV2_AS_UTF_8, false, false, false, NULL},
{VK_NULL, IDM_FORMAT_CONV2_UTF_8, false, false, false, NULL},
{VK_NULL, IDM_FORMAT_CONV2_UCS_2BE, false, false, false, NULL},
{VK_NULL, IDM_FORMAT_CONV2_UCS_2LE, false, false, false, NULL},
{VK_NULL, IDM_SETTING_PREFERECE, false, false, false, NULL}, {VK_NULL, IDM_SETTING_PREFERECE, false, false, false, NULL},
{VK_NULL, IDM_LANGSTYLE_CONFIG_DLG, false, false, false, NULL}, {VK_NULL, IDM_LANGSTYLE_CONFIG_DLG, false, false, false, NULL},

View File

@ -6,27 +6,27 @@
<!-- 2 status : "show" or "hide"--> <!-- 2 status : "show" or "hide"-->
<GUIConfig name="StatusBar">show</GUIConfig> <GUIConfig name="StatusBar">show</GUIConfig>
<!-- For all attributs, 2 status : "yes" or "no"--> <!-- For all attributs, 2 status : "yes" or "no"-->
<GUIConfig name="TabBar" dragAndDrop="yes" drawTopBar="yes" drawInactiveTab="yes" reduce="yes" /> <GUIConfig name="TabBar" dragAndDrop="yes" drawTopBar="yes" drawInactiveTab="yes" reduce="yes" closeButton="yes" doubleClick2Close="no" vertical="no" multiLine="yes" hide="no" />
<!-- 2 positions : "horizontal" or "vertical"--> <!-- 2 positions : "horizontal" or "vertical"-->
<GUIConfig name="ScintillaViewsSplitter">vertical</GUIConfig> <GUIConfig name="ScintillaViewsSplitter">vertical</GUIConfig>
<!-- For the attribut of position, 2 status : docked or undocked ; 2 status : "show" or "hide" --> <!-- For the attribut of position, 2 status : docked or undocked ; 2 status : "show" or "hide" -->
<GUIConfig name="UserDefineDlg" position="docked">hide</GUIConfig> <GUIConfig name="UserDefineDlg" position="undocked">hide</GUIConfig>
<GUIConfig name="TabSetting" size="4" replaceBySpace="no" /> <GUIConfig name="TabSetting" size="4" replaceBySpace="no" />
<!--App position--> <!--App position-->
<GUIConfig name="AppPosition" x="195" y="104" width="1033" height="834" isMaximized="yes"/> <GUIConfig name="AppPosition" x="30" y="27" width="955" height="659" isMaximized="no" />
<!-- For the primary scintilla view, <!-- For the primary scintilla view,
2 status for Attribut lineNumberMargin, bookMarkMargin, indentGuideLine and currentLineHilitingShow: "show" or "hide" 2 status for Attribut lineNumberMargin, bookMarkMargin, indentGuideLine and currentLineHilitingShow: "show" or "hide"
4 status for Attribut folderMarkStyle : "simple", "arrow", "circle" and "box" --> 4 status for Attribut folderMarkStyle : "simple", "arrow", "circle" and "box" -->
<GUIConfig name="ScintillaPrimaryView" lineNumberMargin="show" bookMarkMargin="show" folderMarkStyle="box" indentGuideLine="show" currentLineHilitingShow="show" Wrap="no" edge="no" edgeNbColumn="100" /> <GUIConfig name="ScintillaPrimaryView" lineNumberMargin="show" bookMarkMargin="show" folderMarkStyle="box" indentGuideLine="show" currentLineHilitingShow="show" Wrap="no" edge="no" edgeNbColumn="100" wrapSymbolShow="hide" zoom="0" whiteSpaceShow="hide" eolShow="hide" />
<!-- For the secodary scintilla view, <!-- For the secodary scintilla view,
2 status for Attribut lineNumberMargin, bookMarkMargin, indentGuideLine and currentLineHilitingShow: "show" or "hide" 2 status for Attribut lineNumberMargin, bookMarkMargin, indentGuideLine and currentLineHilitingShow: "show" or "hide"
4 status for Attribut folderMarkStyle : "simple", "arrow", "circle" and "box" --> 4 status for Attribut folderMarkStyle : "simple", "arrow", "circle" and "box" -->
<GUIConfig name="ScintillaSecondaryView" lineNumberMargin="show" bookMarkMargin="show" folderMarkStyle="box" indentGuideLine="show" currentLineHilitingShow="show" Wrap="yes" edge="no" edgeNbColumn="80" /> <GUIConfig name="ScintillaSecondaryView" lineNumberMargin="show" bookMarkMargin="show" folderMarkStyle="box" indentGuideLine="show" currentLineHilitingShow="show" Wrap="no" edge="no" edgeNbColumn="80" wrapSymbolShow="hide" zoom="0" whiteSpaceShow="hide" eolShow="hide" />
<GUIConfig name="Auto-detection">yes</GUIConfig> <GUIConfig name="Auto-detection">yes</GUIConfig>
<GUIConfig name="CheckHistoryFiles">no</GUIConfig> <GUIConfig name="CheckHistoryFiles">no</GUIConfig>
<GUIConfig name="TrayIcon">no</GUIConfig> <GUIConfig name="TrayIcon">no</GUIConfig>
<GUIConfig name="RememberLastSession">yes</GUIConfig> <GUIConfig name="RememberLastSession">yes</GUIConfig>
<!-- <!--
New Document default settings : New Document default settings :
format = 0/1/2 -> win/unix/mac format = 0/1/2 -> win/unix/mac
encoding = 0/1/2/3/4/5 -> ANSI/UCS2Big/UCS2small/UTF8/UTF8-BOM encoding = 0/1/2/3/4/5 -> ANSI/UCS2Big/UCS2small/UTF8/UTF8-BOM
@ -38,9 +38,9 @@
1 -> L_PHP 1 -> L_PHP
... (see source file) ... (see source file)
--> -->
<GUIConfig name="NewDocDefaultSettings" format="0" encoding="0" lang="0"/> <GUIConfig name="NewDocDefaultSettings" format="0" encoding="0" lang="0" />
<GUIConfig name="langsExcluded" gr0="" gr1="" gr2="" gr3="" gr4=""/> <GUIConfig name="langsExcluded" gr0="0" gr1="0" gr2="0" gr3="0" gr4="0" gr5="0" gr6="0" gr7="0" />
<!-- <!--
printOption is print colour setting, the following values are possible : printOption is print colour setting, the following values are possible :
0 : WYSIWYG 0 : WYSIWYG
1 : Invert colour 1 : Invert colour
@ -54,11 +54,10 @@
1 : simple backup 1 : simple backup
2 : verbose backup 2 : verbose backup
--> -->
<GUIConfig name="Backup" action="0" /> <GUIConfig name="Backup" action="0" useCustumDir="no" dir="" />
<GUIConfig name="TaskList">yes</GUIConfig> <GUIConfig name="TaskList">yes</GUIConfig>
<GUIConfig name="SaveOpenFileInSameDir">no</GUIConfig> <GUIConfig name="SaveOpenFileInSameDir">no</GUIConfig>
<!--
<!--
value 0 for the folloing parameters means invisible : value 0 for the folloing parameters means invisible :
leftWidth, topHight, rightWidth, bottomHight leftWidth, topHight, rightWidth, bottomHight
@ -70,8 +69,14 @@
3 : bottom 3 : bottom
>= 4 : undocked -> FloatingWindow id >= 4 : undocked -> FloatingWindow id
--> -->
<GUIConfig name="noUpdate">no</GUIConfig>
<GUIConfig name="MaitainIndent">yes</GUIConfig>
<GUIConfig name="MRU">yes</GUIConfig>
<GUIConfig name="URL">0</GUIConfig>
<GUIConfig name="globalOverride" fg="no" bg="no" font="no" fontSize="no" bold="no" italic="no" underline="no" />
<GUIConfig name="auto-completion" autoCAction="0" triggerFromNbChar="1" />
<GUIConfig name="sessionExt"></GUIConfig>
</GUIConfigs> </GUIConfigs>
<!-- The History of opened files list --> <!-- The History of opened files list -->
<History nbMaxFile="15"/> <History nbMaxFile="15" />
</NotepadPlus> </NotepadPlus>

View File

@ -1,14 +1,5 @@
<NotepadPlus> <NotepadPlus>
<InternalCommands /> <InternalCommands />
<UserDefinedCommands>
<Command name="launch in Firefox" Ctrl="yes" Alt="yes" Shift="yes" Key="88">firefox &quot;$(FULL_CURRENT_PATH)&quot;</Command>
<Command name="launch in IE" Ctrl="yes" Alt="yes" Shift="yes" Key="73">iexplore &quot;$(FULL_CURRENT_PATH)&quot;</Command>
<Command name="Get php help" Ctrl="no" Alt="yes" Shift="no" Key="112">http://www.php.net/%20$(CURRENT_WORD)</Command>
<Command name="Google Search" Ctrl="no" Alt="yes" Shift="no" Key="113">http://www.google.com/search?q=$(CURRENT_WORD)</Command>
<Command name="Wikipedia Search" Ctrl="no" Alt="yes" Shift="no" Key="114">http://en.wikipedia.org/wiki/Special:Search?search=$(CURRENT_WORD)</Command>
<Command name="open file" Ctrl="no" Alt="yes" Shift="no" Key="116">$(NPP_DIRECTORY)\notepad++.exe $(CURRENT_WORD)</Command>
<Command name="open in another instance" Ctrl="no" Alt="yes" Shift="no" Key="117">$(NPP_DIRECTORY)\notepad++.exe $(CURRENT_WORD) -multiInst</Command>
</UserDefinedCommands>
<Macros> <Macros>
<Macro name="Trim Trailing and save" Ctrl="no" Alt="yes" Shift="yes" Key="83"> <Macro name="Trim Trailing and save" Ctrl="no" Alt="yes" Shift="yes" Key="83">
<Action type="1" message="2170" wParam="0" lParam="0" sParam=" " /> <Action type="1" message="2170" wParam="0" lParam="0" sParam=" " />
@ -18,6 +9,17 @@
<Action type="0" message="2327" wParam="0" lParam="0" sParam="" /> <Action type="0" message="2327" wParam="0" lParam="0" sParam="" />
<Action type="2" message="0" wParam="42024" lParam="0" sParam="" /> <Action type="2" message="0" wParam="42024" lParam="0" sParam="" />
<Action type="2" message="0" wParam="41006" lParam="0" sParam="" /> <Action type="2" message="0" wParam="41006" lParam="0" sParam="" />
</Macro> </Macro>
</Macros> </Macros>
<UserDefinedCommands>
<Command name="launch in Firefox" Ctrl="yes" Alt="yes" Shift="yes" Key="88">firefox &quot;$(FULL_CURRENT_PATH)&quot;</Command>
<Command name="launch in IE" Ctrl="yes" Alt="yes" Shift="yes" Key="73">iexplore &quot;$(FULL_CURRENT_PATH)&quot;</Command>
<Command name="Get php help" Ctrl="no" Alt="yes" Shift="no" Key="112">http://www.php.net/%20$(CURRENT_WORD)</Command>
<Command name="Google Search" Ctrl="no" Alt="yes" Shift="no" Key="113">http://www.google.com/search?q=$(CURRENT_WORD)</Command>
<Command name="Wikipedia Search" Ctrl="no" Alt="yes" Shift="no" Key="114">http://en.wikipedia.org/wiki/Special:Search?search=$(CURRENT_WORD)</Command>
<Command name="open file" Ctrl="no" Alt="yes" Shift="no" Key="116">$(NPP_DIRECTORY)\notepad++.exe $(CURRENT_WORD)</Command>
<Command name="open in another instance" Ctrl="no" Alt="yes" Shift="no" Key="117">$(NPP_DIRECTORY)\notepad++.exe $(CURRENT_WORD) -nosession -multiInst</Command>
</UserDefinedCommands>
<PluginCommands />
<ScintillaKeys />
</NotepadPlus> </NotepadPlus>

View File

@ -65,7 +65,7 @@
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalOptions="/fixed:no" AdditionalOptions="/fixed:no"
AdditionalDependencies="comctl32.lib shlwapi.lib shell32.lib" AdditionalDependencies="comctl32.lib shlwapi.lib shell32.lib Oleacc.lib"
ShowProgress="2" ShowProgress="2"
OutputFile="$(OutDir)/notepadPlus_Debug.exe" OutputFile="$(OutDir)/notepadPlus_Debug.exe"
Version="1.0" Version="1.0"
@ -155,7 +155,7 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="comctl32.lib shlwapi.lib shell32.lib odbc32.lib odbccp32.lib Oleacc.lib" AdditionalDependencies="comctl32.lib shlwapi.lib shell32.lib Oleacc.lib"
ShowProgress="2" ShowProgress="2"
OutputFile="$(OutDir)/notepad++.exe" OutputFile="$(OutDir)/notepad++.exe"
Version="1.0" Version="1.0"
@ -576,10 +576,6 @@
RelativePath="..\src\MISC\RegExt\regExtDlgRc.h" RelativePath="..\src\MISC\RegExt\regExtDlgRc.h"
> >
</File> </File>
<File
RelativePath="..\src\resource.h"
>
</File>
<File <File
RelativePath="..\src\WinControls\Preference\resource.h" RelativePath="..\src\WinControls\Preference\resource.h"
> >
@ -588,6 +584,10 @@
RelativePath="..\src\MISC\RegExt\resource.h" RelativePath="..\src\MISC\RegExt\resource.h"
> >
</File> </File>
<File
RelativePath="..\src\resource.h"
>
</File>
<File <File
RelativePath="..\src\WinControls\StaticDialog\RunDlg\RunDlg.h" RelativePath="..\src\WinControls\StaticDialog\RunDlg\RunDlg.h"
> >