How to change the shortcut key code?

Feb 25, 2014 at 8:15 PM
I want to change the default shortcut key 'F7' (Build) to 'F6' in CS-Script for NPP, how can I do that?

I had search the "Keys.F7" in source codes, but not found.
Please tell me, thanks.
Feb 26, 2014 at 8:24 AM
It is here: CSScriptNpp.csproj - Plugin.cs (73)
static void BindInteranalShortcuts()
{
    internalShortcuts.Add(new ShortcutKey(isCtrl: false, isAlt: false, isShift: false, key: Keys.F7), new Tuple<string, Action>(
                          "Build (validate)", () =>
                           {
                               Build();
                           }));
    internalShortcuts.Add(new ShortcutKey(isCtrl: true, isAlt: false, isShift: false, key: Keys.F7), new Tuple<string, Action>(
                          "Load Current Document", () =>
                          {


Mar 4, 2014 at 7:11 AM
Got them, thanks very much.