[BUG_FIXED] Remove unnecessary lines which could make bugs.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@747 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
6a468a8741
commit
4afbeefc0a
@ -4576,7 +4576,7 @@ void Notepad_plus::launchAnsiCharPanel()
|
|||||||
|
|
||||||
::SendMessage(_pPublicInterface->getHSelf(), NPPM_MODELESSDIALOG, MODELESSDIALOGREMOVE, (WPARAM)_pAnsiCharPanel->getHSelf());
|
::SendMessage(_pPublicInterface->getHSelf(), NPPM_MODELESSDIALOG, MODELESSDIALOGREMOVE, (WPARAM)_pAnsiCharPanel->getHSelf());
|
||||||
// define the default docking behaviour
|
// define the default docking behaviour
|
||||||
data.uMask = DWS_DF_CONT_BOTTOM | DWS_ICONTAB | DWS_ADDINFO;
|
data.uMask = DWS_DF_CONT_RIGHT | DWS_ICONTAB | DWS_ADDINFO;
|
||||||
data.hIconTab = (HICON)::LoadImage(_pPublicInterface->getHinst(), MAKEINTRESOURCE(IDI_FIND_RESULT_ICON), IMAGE_ICON, 0, 0, LR_LOADMAP3DCOLORS | LR_LOADTRANSPARENT);
|
data.hIconTab = (HICON)::LoadImage(_pPublicInterface->getHinst(), MAKEINTRESOURCE(IDI_FIND_RESULT_ICON), IMAGE_ICON, 0, 0, LR_LOADMAP3DCOLORS | LR_LOADTRANSPARENT);
|
||||||
//data.pszAddInfo = _findAllResultStr;
|
//data.pszAddInfo = _findAllResultStr;
|
||||||
|
|
||||||
|
@ -25,8 +25,6 @@
|
|||||||
#define CF_RTF TEXT("Rich Text Format")
|
#define CF_RTF TEXT("Rich Text Format")
|
||||||
#define CF_NPPTEXTLEN TEXT("Notepad++ Binary Text Length")
|
#define CF_NPPTEXTLEN TEXT("Notepad++ Binary Text Length")
|
||||||
|
|
||||||
static int copyDataLen = 0;
|
|
||||||
|
|
||||||
void Notepad_plus::macroPlayback(Macro macro)
|
void Notepad_plus::macroPlayback(Macro macro)
|
||||||
{
|
{
|
||||||
_pEditView->execute(SCI_BEGINUNDOACTION);
|
_pEditView->execute(SCI_BEGINUNDOACTION);
|
||||||
@ -236,8 +234,6 @@ void Notepad_plus::command(int id)
|
|||||||
GlobalUnlock(hglb);
|
GlobalUnlock(hglb);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_pEditView->execute(SCI_REPLACESEL, 0, (LPARAM)"");
|
|
||||||
_pEditView->execute(SCI_ADDTEXT, copyDataLen, (LPARAM)lpchar);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -169,7 +169,7 @@ generic_string ListView::getAscii(unsigned char value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
return TEXT("");
|
//return TEXT("");
|
||||||
}
|
}
|
||||||
|
|
||||||
void ListView::setValues(int codepage)
|
void ListView::setValues(int codepage)
|
||||||
|
Loading…
Reference in New Issue
Block a user