anchor.diff:  
   procedure TfmMain.DoDialogCommands;
   var
  +  F: TEditorFrame;
     Ed: TATSynEdit;
     NCmd: integer;
   begin
  -  Ed:= CurrentEditor;
  +  F:= CurrentFrame;
  +  Ed:= F.Editor;
     MsgStatus(msgStatusHelpOnShowCommands);
   
     UpdateKeymapDynamicItems(AppKeymapMain, categ_Lexer);
     UpdateKeymapDynamicItems(AppKeymapMain, categ_OpenedFile);
     UpdateKeymapDynamicItems(AppKeymapMain, categ_RecentFile);
   
  -  NCmd:= DoDialogCommands_Custom(true, true, true, true, true, true, true, false, '', FLastSelectedCommand);
  +  NCmd:= DoDialogCommands_Custom(
  +    Ed, F.LexerName[Ed],
  +    true, true, true, true, true, true, true, false,
  +    '', FLastSelectedCommand);
  +
     if NCmd>0 then
     begin
       FLastSelectedCommand:= NCmd;
  
positive.code:     procedure DoEditorsLock(ALock: boolean);
      procedure DoFindCurrentWordOrSel(Ed: TATSynEdit; ANext, AWordOrSel: boolean);
      procedure DoDialogCommands;
      function DoDialogCommands_Custom(AShowUsual, AShowPlugins, AShowLexers,
        AShowFiles, AShowRecents, AAllowConfig, AAllowConfigForLexer, AShowCentered: boolean;
        ACaption: string; AFocusedCommand: integer): integer;
      function DoDialogCommands_Py(AShowUsual, AShowPlugins, AShowLexers, AShowFiles,
  
negative.code: function TfmMain.DoDialogCommands_Py(AShowUsual, AShowPlugins, AShowLexers, AShowFiles, AShowRecents,
    AAllowConfig, AAllowConfigForLexer, AShowCentered: boolean; ACaption: string): string;
  var
    F: TEditorFrame;
    NCmd, NIndex: integer;
  begin
    Result:= '';
  
    F:= CurrentFrame;
  
    NCmd:= DoDialogCommands_Custom(
      F.Editor,
      F.LexerName[F.Ed1],
      AShowUsual,
      AShowPlugins,
      AShowLexers,
  