Browse Source

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@167 f5eea248-9336-0410-98b8-ebc06183d4e3

remotes/patch_testing@481
Don Ho 17 years ago
parent
commit
3f9ea0441b
  1. 19
      PowerEditor/src/MISC/PluginsManager/PluginsManager.h
  2. 8
      PowerEditor/visual.net/notepadPlus.vcproj

19
PowerEditor/src/MISC/PluginsManager/PluginsManager.h

@ -125,26 +125,7 @@ public:
HMENU getMenuHandle() {
return _hPluginsMenu;
};
/*
void getCustomizedShortcuts(char *pluginName, FuncItem *funcItems, int nbFuncItem) {
vector<PluginCmdShortcut> & pluginCustomizedCmds = (NppParameters::getInstance())->getPluginCustomizedCmds();
for (size_t i = 0 ; i < pluginCustomizedCmds.size() ; i++)
{
if (strcmp(pluginName, pluginCustomizedCmds[i].getModuleName()) == 0)
{
int id = pluginCustomizedCmds[i].getInternalID();
if ((id < nbFuncItem) && (funcItems[id]._pShKey != NULL))
{
funcItems[id]._pShKey->_isAlt = pluginCustomizedCmds[i]._isAlt;
funcItems[id]._pShKey->_isCtrl = pluginCustomizedCmds[i]._isCtrl;
funcItems[id]._pShKey->_isShift = pluginCustomizedCmds[i]._isShift;
funcItems[id]._pShKey->_key = pluginCustomizedCmds[i]._key;
}
}
}
};
*/
void disable() {_isDisabled = true;};
private:

8
PowerEditor/visual.net/notepadPlus.vcproj

@ -42,7 +42,7 @@
Name="VCCLCompilerTool"
Optimization="0"
FavorSizeOrSpeed="0"
AdditionalIncludeDirectories="..\src\WinControls\AboutDlg;..\..\scintilla\include;..\include;..\src\WinControls;..\src\WinControls\ImageListSet;..\src\WinControls\OpenSaveFileDialog;..\src\WinControls\SplitterContainer;..\src\WinControls\StaticDialog;..\src\WinControls\TabBar;..\src\WinControls\ToolBar;..\src\MISC\Process;..\src\ScitillaComponent;..\src\MISC;..\src\MISC\SysMsg;..\src\WinControls\StatusBar;..\src;..\src\WinControls\StaticDialog\RunDlg;..\src\tinyxml;..\src\WinControls\ColourPicker;..\src\MISC\RegExt;..\src\WinControls\TrayIcon;..\src\WinControls\shortcut;..\src\WinControls\Grid;..\src\WinControls\ContextMenu;..\src\MISC\PluginsManager;..\src\WinControls\Preference;..\src\WinControls\WindowsDlg;..\src\WinControls\TaskList;..\src\WinControls\DockingWnd"
AdditionalIncludeDirectories="..\src\WinControls\AboutDlg;..\..\scintilla\include;..\include;..\src\WinControls;..\src\WinControls\ImageListSet;..\src\WinControls\OpenSaveFileDialog;..\src\WinControls\SplitterContainer;..\src\WinControls\StaticDialog;..\src\WinControls\TabBar;..\src\WinControls\ToolBar;..\src\MISC\Process;..\src\ScitillaComponent;..\src\MISC;..\src\MISC\SysMsg;..\src\WinControls\StatusBar;..\src;..\src\WinControls\StaticDialog\RunDlg;..\src\tinyxml;..\src\WinControls\ColourPicker;..\src\Win32Explr;..\src\MISC\RegExt;..\src\WinControls\TrayIcon;..\src\WinControls\shortcut;..\src\WinControls\Grid;..\src\WinControls\ContextMenu;..\src\MISC\PluginsManager;..\src\WinControls\Preference;..\src\WinControls\WindowsDlg;..\src\WinControls\TaskList;..\src\WinControls\DockingWnd;..\src\WinControls\ToolTip"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
MinimalRebuild="true"
BasicRuntimeChecks="0"
@ -577,15 +577,15 @@
>
</File>
<File
RelativePath="..\src\WinControls\Preference\resource.h"
RelativePath="..\src\MISC\RegExt\resource.h"
>
</File>
<File
RelativePath="..\src\MISC\RegExt\resource.h"
RelativePath="..\src\resource.h"
>
</File>
<File
RelativePath="..\src\resource.h"
RelativePath="..\src\WinControls\Preference\resource.h"
>
</File>
<File

Loading…
Cancel
Save