示例#1
0
 public void ReloadHotkeys()
 {
     Hotkeys = HotkeySettingsManager.LoadHotkeys(HotkeySettingsName);
     diffDeleteFileToolStripMenuItem.ShortcutKeyDisplayString  = GetShortcutKeyDisplayString(Command.DeleteSelectedFiles);
     fileHistoryDiffToolstripMenuItem.ShortcutKeyDisplayString = GetShortcutKeyDisplayString(Command.ShowHistory);
     blameToolStripMenuItem.ShortcutKeyDisplayString           = GetShortcutKeyDisplayString(Command.Blame);
     firstToSelectedToolStripMenuItem.ShortcutKeyDisplayString = GetShortcutKeyDisplayString(Command.OpenWithDifftool);
     DiffText.ReloadHotkeys();
 }
        public void ReloadHotkeys()
        {
            Hotkeys = HotkeySettingsManager.LoadHotkeys(HotkeySettingsName);
            diffDeleteFileToolStripMenuItem.ShortcutKeyDisplayString  = GetShortcutKeyDisplayString(Command.DeleteSelectedFiles);
            fileHistoryDiffToolstripMenuItem.ShortcutKeyDisplayString = GetShortcutKeyDisplayString(Command.ShowHistory);
            blameToolStripMenuItem.ShortcutKeyDisplayString           = GetShortcutKeyDisplayString(Command.Blame);
            firstToSelectedToolStripMenuItem.ShortcutKeyDisplayString = GetShortcutKeyDisplayString(Command.OpenWithDifftool);
            firstToLocalToolStripMenuItem.ShortcutKeyDisplayString    = GetShortcutKeyDisplayString(Command.OpenWithDifftoolFirstToLocal);
            selectedToLocalToolStripMenuItem.ShortcutKeyDisplayString = GetShortcutKeyDisplayString(Command.OpenWithDifftoolSelectedToLocal);
            diffEditWorkingDirectoryFileToolStripMenuItem.ShortcutKeyDisplayString = GetShortcutKeyDisplayString(Command.EditFile);
            diffOpenRevisionFileToolStripMenuItem.ShortcutKeyDisplayString         = GetShortcutKeyDisplayString(Command.OpenAsTempFile);
            diffOpenRevisionFileWithToolStripMenuItem.ShortcutKeyDisplayString     = GetShortcutKeyDisplayString(Command.OpenAsTempFileWith);

            DiffText.ReloadHotkeys();
        }
示例#3
0
 public void ReloadHotkeys()
 {
     this.Hotkeys = HotkeySettingsManager.LoadHotkeys(HotkeySettingsName);
     this.diffDeleteFileToolStripMenuItem.ShortcutKeyDisplayString = GetShortcutKeys(Commands.DeleteSelectedFiles).ToShortcutKeyDisplayString();
     DiffText.ReloadHotkeys();
 }
示例#4
0
 public void ReloadHotkeys()
 {
     DiffText.ReloadHotkeys();
     //TBD Shortcut key should be implemented but HotKeyManager is inaccessible in FormBrowse
 }