mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-26 15:24:35 +02:00
Parameters: fixed alignment (indent with tabs, align with spaces)
This commit is contained in:
parent
a53c25499e
commit
6e6ca7fe12
@ -38,7 +38,11 @@
|
|||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
struct WinMenuKeyDefinition { //more or less matches accelerator table definition, easy copy/paste
|
|
||||||
|
|
||||||
|
|
||||||
|
struct WinMenuKeyDefinition //more or less matches accelerator table definition, easy copy/paste
|
||||||
|
{
|
||||||
//const TCHAR * name; //name retrieved from menu?
|
//const TCHAR * name; //name retrieved from menu?
|
||||||
int vKey;
|
int vKey;
|
||||||
int functionId;
|
int functionId;
|
||||||
@ -49,7 +53,8 @@ struct WinMenuKeyDefinition { //more or less matches accelerator table definitio
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
struct ScintillaKeyDefinition {
|
struct ScintillaKeyDefinition
|
||||||
|
{
|
||||||
const TCHAR * name;
|
const TCHAR * name;
|
||||||
int functionId;
|
int functionId;
|
||||||
bool isCtrl;
|
bool isCtrl;
|
||||||
@ -59,7 +64,9 @@ struct ScintillaKeyDefinition {
|
|||||||
int redirFunctionId; //this gets set when a function is being redirected through Notepad++ if Scintilla doesnt do it properly :)
|
int redirFunctionId; //this gets set when a function is being redirected through Notepad++ if Scintilla doesnt do it properly :)
|
||||||
};
|
};
|
||||||
|
|
||||||
WinMenuKeyDefinition winKeyDefs[] = {
|
|
||||||
|
WinMenuKeyDefinition winKeyDefs[] =
|
||||||
|
{
|
||||||
//array of accelerator keys for all std menu items, values can be 0 for vKey, which means its unused
|
//array of accelerator keys for all std menu items, values can be 0 for vKey, which means its unused
|
||||||
//================================================================================
|
//================================================================================
|
||||||
// {V_KEY, COMMAND_ID, Ctrl, Alt, Shift, cmdName},
|
// {V_KEY, COMMAND_ID, Ctrl, Alt, Shift, cmdName},
|
||||||
@ -324,7 +331,6 @@ WinMenuKeyDefinition winKeyDefs[] = {
|
|||||||
{VK_4, IDM_SEARCH_GONEXTMARKER4, true, false, false, NULL},
|
{VK_4, IDM_SEARCH_GONEXTMARKER4, true, false, false, NULL},
|
||||||
{VK_5, IDM_SEARCH_GONEXTMARKER5, true, false, false, NULL},
|
{VK_5, IDM_SEARCH_GONEXTMARKER5, true, false, false, NULL},
|
||||||
{VK_0, IDM_SEARCH_GONEXTMARKER_DEF, true, false, false, NULL}
|
{VK_0, IDM_SEARCH_GONEXTMARKER_DEF, true, false, false, NULL}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user