anchor.diff:      fmCommands.OptAllowConfigForLexer:= AAllowConfigForLexer;
       fmCommands.OptFocusedCommand:= AFocusedCommand;
       fmCommands.OnMsg:= @DoCommandsMsgStatus;
  -    fmCommands.CurrentLexerName:= F.LexerName[Ed];
  +    fmCommands.CurrentLexerName:= ALexerName;
       fmCommands.Keymap:= Ed.Keymap;
       fmCommands.ListCaption:= ACaption;
       if AShowCentered then
  
positive.code: 
  
  function TfmMain.DoDialogCommands_Custom(
    AShowUsual, AShowPlugins, AShowLexers, AShowFiles, AShowRecents,
    AAllowConfig, AAllowConfigForLexer, AShowCentered: boolean;
    ACaption: string; AFocusedCommand: integer): integer;
  var
    F: TEditorFrame;
    Ed: TATSynEdit;
    bKeysChanged: boolean;
  begin
    Result:= 0;
    F:= CurrentFrame;
    if F=nil then exit;
    Ed:= F.Editor;
  
    fmCommands:= TfmCommands.Create(Self);
    try
      UpdateInputForm(fmCommands);
  
negative.code:     procedure DoEditorsLock(ALock: boolean);
      procedure DoFindCurrentWordOrSel(Ed: TATSynEdit; ANext, AWordOrSel: boolean);
      procedure DoDialogCommands;
      function DoDialogCommands_Custom(
        Ed: TATSynEdit; const ALexerName: string;
        AShowUsual, AShowPlugins, AShowLexers,
        AShowFiles, AShowRecents, AAllowConfig, AAllowConfigForLexer, AShowCentered: boolean;
        ACaption: string; AFocusedCommand: integer): integer;
      function DoDialogCommands_Py(AShowUsual, AShowPlugins, AShowLexers, AShowFiles,
  