anchor.diff:    end;
   
     //is current frame empty? use it
  -  if APages=Groups.PagesCurrent then
  +  if APages=CurGroups.PagesCurrent then
     begin
       F:= CurrentFrame;
       if Assigned(F) then
  
positive.code:     NonTextMode:= cOpenModeEditor;
  
    if APages=nil then
      APages:= Groups.PagesCurrent;
  
    if AFileName='' then
    begin
  
negative.code:   Result:= nil;
    AppFolderOfLastInstalledAddon:= '';
    if Application.Terminated then exit;
  
    CurGroups:= CurrentGroups;
  
    bSilent:= Pos('/silent', AOptions)>0;
    bPreviewTab:= Pos('/preview', AOptions)>0;
  