[BUG_FIXED] (Author : Vitaliy Dovgan) Fix macro record bug from ANSI document.
[BUG_FIXED] Fix hidding/showing status bar bug. git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@669 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
8caa50ba55
commit
52a0e7971d
@ -644,14 +644,14 @@ SubSection "Plugins" Plugins
|
|||||||
SetOutPath "$INSTDIR\plugins"
|
SetOutPath "$INSTDIR\plugins"
|
||||||
File "..\bin\plugins\SpellChecker.dll"
|
File "..\bin\plugins\SpellChecker.dll"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
/*
|
||||||
Section "MIME Tools" MIMETools
|
Section "MIME Tools" MIMETools
|
||||||
Delete "$INSTDIR\plugins\NppTools.dll"
|
Delete "$INSTDIR\plugins\NppTools.dll"
|
||||||
Delete "$INSTDIR\plugins\mimeTools.dll"
|
Delete "$INSTDIR\plugins\mimeTools.dll"
|
||||||
SetOutPath "$INSTDIR\plugins"
|
SetOutPath "$INSTDIR\plugins"
|
||||||
File "..\bin\plugins\mimeTools.dll"
|
File "..\bin\plugins\mimeTools.dll"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
*/
|
||||||
Section "Npp FTP" NppFTP
|
Section "Npp FTP" NppFTP
|
||||||
Delete "$INSTDIR\plugins\NppFTP.dll"
|
Delete "$INSTDIR\plugins\NppFTP.dll"
|
||||||
SetOutPath "$INSTDIR\plugins"
|
SetOutPath "$INSTDIR\plugins"
|
||||||
@ -671,13 +671,13 @@ SubSection "Plugins" Plugins
|
|||||||
SetOutPath "$INSTDIR\plugins"
|
SetOutPath "$INSTDIR\plugins"
|
||||||
File "..\bin\plugins\NppExport.dll"
|
File "..\bin\plugins\NppExport.dll"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
/*
|
||||||
Section "Select 'N' Launch" SelectNLaunch
|
Section "Select 'N' Launch" SelectNLaunch
|
||||||
Delete "$INSTDIR\plugins\SelectNLaunch.dll"
|
Delete "$INSTDIR\plugins\SelectNLaunch.dll"
|
||||||
SetOutPath "$INSTDIR\plugins"
|
SetOutPath "$INSTDIR\plugins"
|
||||||
File "..\bin\plugins\SelectNLaunch.dll"
|
File "..\bin\plugins\SelectNLaunch.dll"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
*/
|
||||||
Section "Compare Plugin" ComparePlugin
|
Section "Compare Plugin" ComparePlugin
|
||||||
Delete "$INSTDIR\plugins\ComparePlugin.dll"
|
Delete "$INSTDIR\plugins\ComparePlugin.dll"
|
||||||
SetOutPath "$INSTDIR\plugins"
|
SetOutPath "$INSTDIR\plugins"
|
||||||
|
@ -283,7 +283,7 @@ LRESULT Notepad_plus::init(HWND hwnd)
|
|||||||
//--Status Bar Section--//
|
//--Status Bar Section--//
|
||||||
bool willBeShown = nppGUI._statusBarShow;
|
bool willBeShown = nppGUI._statusBarShow;
|
||||||
_statusBar.init(_pPublicInterface->getHinst(), hwnd, 6);
|
_statusBar.init(_pPublicInterface->getHinst(), hwnd, 6);
|
||||||
_statusBar.setPartWidth(STATUSBAR_DOC_SIZE, 230);
|
_statusBar.setPartWidth(STATUSBAR_DOC_SIZE, 200);
|
||||||
_statusBar.setPartWidth(STATUSBAR_CUR_POS, 230);
|
_statusBar.setPartWidth(STATUSBAR_CUR_POS, 230);
|
||||||
_statusBar.setPartWidth(STATUSBAR_EOF_FORMAT, 110);
|
_statusBar.setPartWidth(STATUSBAR_EOF_FORMAT, 110);
|
||||||
_statusBar.setPartWidth(STATUSBAR_UNICODE_TYPE, 120);
|
_statusBar.setPartWidth(STATUSBAR_UNICODE_TYPE, 120);
|
||||||
|
@ -1675,8 +1675,7 @@ LRESULT Notepad_plus::process(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lPa
|
|||||||
_pPublicInterface->getClientRect(rc);
|
_pPublicInterface->getClientRect(rc);
|
||||||
|
|
||||||
nppGUI._statusBarShow = show;
|
nppGUI._statusBarShow = show;
|
||||||
if(show)
|
_statusBar.display(nppGUI._statusBarShow);
|
||||||
_statusBar.display(nppGUI._statusBarShow);
|
|
||||||
::SendMessage(_pPublicInterface->getHSelf(), WM_SIZE, SIZE_RESTORED, MAKELONG(rc.bottom, rc.right));
|
::SendMessage(_pPublicInterface->getHSelf(), WM_SIZE, SIZE_RESTORED, MAKELONG(rc.bottom, rc.right));
|
||||||
return oldVal;
|
return oldVal;
|
||||||
}
|
}
|
||||||
|
@ -364,7 +364,7 @@ void FunctionCallTip::showCalltip()
|
|||||||
bytesNeeded += 24; // /\00001 of 00003\/
|
bytesNeeded += 24; // /\00001 of 00003\/
|
||||||
}
|
}
|
||||||
|
|
||||||
const int maxLen = 1024;
|
const int maxLen = 2048;
|
||||||
if (bytesNeeded >= maxLen)
|
if (bytesNeeded >= maxLen)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -562,14 +562,16 @@ recordedMacroStep::recordedMacroStep(int iMessage, long wParam, long lParam)
|
|||||||
case IDREPLACEWITH:
|
case IDREPLACEWITH:
|
||||||
case IDD_FINDINFILES_DIR_COMBO:
|
case IDD_FINDINFILES_DIR_COMBO:
|
||||||
case IDD_FINDINFILES_FILTERS_COMBO:
|
case IDD_FINDINFILES_FILTERS_COMBO:
|
||||||
sParameter = *reinterpret_cast<TCHAR *>(lParameter);
|
{
|
||||||
//::MessageBoxA(NULL, (LPCSTR)(*reinterpret_cast<char *>(lParameter)), "A", MB_OK);
|
char ch = *reinterpret_cast<char *>(lParameter);
|
||||||
//::MessageBoxW(NULL, (LPCWSTR)(*reinterpret_cast<WCHAR *>(lParameter)), TEXT("W"), MB_OK);
|
TCHAR tch = ch;
|
||||||
|
sParameter = tch;
|
||||||
|
|
||||||
//printStr(sParameter.c_str());
|
|
||||||
MacroType = mtUseSParameter;
|
MacroType = mtUseSParameter;
|
||||||
lParameter = 0;
|
lParameter = 0;
|
||||||
break;
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
|
||||||
default : // for all other messages, use lParameter "as is"
|
default : // for all other messages, use lParameter "as is"
|
||||||
break;
|
break;
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user