anchor.diff:    TabColor:= StringToColorDef(c.GetValue(path+cHistory_TabColor, ''), clNone);
   
     ReadOnly:= c.GetValue(path+cHistory_RO, ReadOnly);
  -  Editor.OptWrapMode:= TATSynWrapMode(c.GetValue(path+cHistory_Wrap, Ord(Editor.OptWrapMode)));
  +  if not FileWasBig then
  +  begin
  +    Editor.OptWrapMode:= TATSynWrapMode(c.GetValue(path+cHistory_Wrap, Ord(Editor.OptWrapMode)));
  +    Editor.OptMinimapVisible:= c.GetValue(path+cHistory_Minimap, Editor.OptMinimapVisible);
  +    Editor.OptMicromapVisible:= c.GetValue(path+cHistory_Micromap, Editor.OptMicromapVisible);
  +  end;
     Editor.OptRulerVisible:= c.GetValue(path+cHistory_Ruler, Editor.OptRulerVisible);
  -  Editor.OptMinimapVisible:= c.GetValue(path+cHistory_Minimap, Editor.OptMinimapVisible);
  -  Editor.OptMicromapVisible:= c.GetValue(path+cHistory_Micromap, Editor.OptMicromapVisible);
     Editor.OptTabSize:= c.GetValue(path+cHistory_TabSize, Editor.OptTabSize);
     Editor.OptTabSpaces:= c.GetValue(path+cHistory_TabSpace, Editor.OptTabSpaces);
     Editor.OptUnprintedVisible:= c.GetValue(path+cHistory_Unpri, Editor.OptUnprintedVisible);
  
positive.code:     procedure EditorOnKeyUp(Sender: TObject; var Key: Word; Shift: TShiftState);
      property ReadOnly: boolean read GetReadOnly write SetReadOnly;
      property FileName: string read FFileName write SetFileName;
      property TabCaption: string read FTabCaption write SetTabCaption;
      property TabImageIndex: integer read FTabImageIndex write SetTabImageIndex;
      property TabCaptionFromApi: boolean read FTabCaptionFromApi write FTabCaptionFromApi;
  
negative.code:     exit
    end;
  
    //turn off opts for huge files
    FileWasBig:= Editor.Strings.Count>EditorOps.OpWrapEnabledMaxLines;
  
    SetLexer(DoLexerFindByFilename(fn));
    if AAllowLoadHistory then
      DoLoadHistory;
    UpdateReadOnlyFromFile;
  
    NotifEnabled:= UiOps.NotifEnabled;
  end;
  
  procedure TEditorFrame.UpdateReadOnlyFromFile;
  