extern "C" __declspec(dllexport) void setInfo(NppData notepadPlusData)
{
	nppData = notepadPlusData;
	aboutDlg.init(static_cast<HINSTANCE>(g_hModule), nppData);
	
	::SendMessage(nppData._nppHandle, NPPM_GETPLUGINSCONFIGDIR, MAX_PATH, reinterpret_cast<LPARAM>(g_iniPath));
	_tcscat_s(g_iniPath, MAX_PATH, _T("\\ZenCodingPython.ini"));
}
Beispiel #2
0
extern "C" __declspec(dllexport) void setInfo(NppData notpadPlusData)
{
    nppData = notpadPlusData;

    AboutDlg.init((HINSTANCE)g_hModule, nppData);
    OptionDlg.init((HINSTANCE)g_hModule, nppData);
    NavDlg.init((HINSTANCE)g_hModule, nppData);
}
Beispiel #3
0
extern "C" __declspec(dllexport) void setInfo(NppData notepadPlusData)
{
	nppData = notepadPlusData;
	switchDlg.init(GetCurrentModule(), nppData, &g_options, &typedForFile, &configDlg);
	aboutDlg.init((HINSTANCE)g_hModule, nppData);
	configDlg.init((HINSTANCE)g_hModule, nppData, &g_options);

	gWinVersion  = (winVer)::SendMessage(nppData._nppHandle, NPPM_GETWINDOWSVERSION, 0, 0);
	loadSettings();
}