anchor.diff:  class procedure TKeymapHelperMain.DeleteCategoryWithHotkeyBackup(AKeymap: TATKeymap; ABackup: TAppHotkeyBackup; ACategory: TAppCommandCategory);
   var
     MapItem: TATKeymapItem;
  -  CmdItem: TAppCommandInfo;
     Cmd, i: integer;
  -  NPluginIndex: integer;
   begin
     for i:= AKeymap.Count-1 downto 0 do
     begin
  
positive.code:       //backup hotkeys of plugins
        //this function must not loose any hotkeys!
        if ACategory in [categ_Plugin, categ_PluginSub] then
        begin
          NPluginIndex:= Cmd-cmdFirstPluginCommand;
          if (NPluginIndex>=0) and (NPluginIndex<AppCommandList.Count) then
          begin
            CmdItem:= TAppCommandInfo(AppCommandList[NPluginIndex]);
            ABackup.Add(MapItem, CmdItem.CommaStr);
          end;
        end;
  
        AKeymap.Delete(i);
      end;
  
negative.code: class procedure TKeymapHelperMain.AddPluginsWithHotkeyBackup(AKeymap: TATKeymap; ABackup: TAppHotkeyBackup; ACategory: TAppCommandCategory);
  var
    CmdItem: TAppCommandInfo;
    SCommandText: string;
    i: integer;
  begin
    for i:= 0 to AppCommandList.Count-1 do
  