anchor.diff:          Editor.LoadFromFile(FileName);
     end;
   
  -  TabColor:= StringToColorDef(c.GetValue(path+cSavColor, ''), clNone);
  -
  -  ReadOnly:= c.GetValue(path+cSavRO, ReadOnly);
  -  Editor.OptWrapMode:= TATSynWrapMode(c.GetValue(path+cSavWrap, Ord(Editor.OptWrapMode)));
  -  Editor.OptRulerVisible:= c.GetValue(path+cSavRuler, Editor.OptRulerVisible);
  -  Editor.OptMinimapVisible:= c.GetValue(path+cSavMinimap, Editor.OptMinimapVisible);
  -  Editor.OptTabSize:= c.GetValue(path+cSavTabSize, Editor.OptTabSize);
  -  Editor.OptTabSpaces:= c.GetValue(path+cSavTabSpace, Editor.OptTabSpaces);
  -  Editor.OptUnprintedVisible:= c.GetValue(path+cSavUnpri, Editor.OptUnprintedVisible);
  -  Editor.OptUnprintedSpaces:= c.GetValue(path+cSavUnpriSp, Editor.OptUnprintedSpaces);
  -  Editor.OptUnprintedEnds:= c.GetValue(path+cSavUnpriEnd, Editor.OptUnprintedEnds);
  -  Editor.OptUnprintedEndsDetails:= c.GetValue(path+cSavUnpriEndDet, Editor.OptUnprintedEndsDetails);
  +  TabColor:= StringToColorDef(c.GetValue(path+cHistory_Color, ''), clNone);
  +
  +  ReadOnly:= c.GetValue(path+cHistory_RO, ReadOnly);
  +  Editor.OptWrapMode:= TATSynWrapMode(c.GetValue(path+cHistory_Wrap, Ord(Editor.OptWrapMode)));
  +  Editor.OptRulerVisible:= c.GetValue(path+cHistory_Ruler, Editor.OptRulerVisible);
  +  Editor.OptMinimapVisible:= c.GetValue(path+cHistory_Minimap, Editor.OptMinimapVisible);
  +  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);
  +  Editor.OptUnprintedSpaces:= c.GetValue(path+cHistory_UnpriSp, Editor.OptUnprintedSpaces);
  +  Editor.OptUnprintedEnds:= c.GetValue(path+cHistory_UnpriEnd, Editor.OptUnprintedEnds);
  +  Editor.OptUnprintedEndsDetails:= c.GetValue(path+cHistory_UnpriEndDet, Editor.OptUnprintedEndsDetails);
   
     if Assigned(Lexer) then
     begin
       //this seems ok: works even for open-file via cmdline
  -    FFoldTodo:= c.GetValue(path+cSavFold, '');
  -    FTopLineTodo:= c.GetValue(path+cSavTop, 0); //must use, not Ed.LineTop
  +    FFoldTodo:= c.GetValue(path+cHistory_Fold, '');
  +    FTopLineTodo:= c.GetValue(path+cHistory_Top, 0); //must use, not Ed.LineTop
     end
     else
     begin
  
positive.code: {$R *.lfm}
  
  const
    cSavLexer       = '/lexer';
    cSavEnc         = '/enc';
    cSavTop         = '/top';
    cSavWrap        = '/wrap_mode';
    cSavRO          = '/ro';
    cSavRuler       = '/ruler';
    cSavMinimap     = '/minimap';
    cSavTabSize     = '/tab_size';
    cSavTabSpace    = '/tab_spaces';
    cSavNums        = '/nums';
    cSavUnpri       = '/unprinted_show';
    cSavUnpriSp     = '/unprinted_spaces';
    cSavUnpriEnd    = '/unprinted_ends';
    cSavUnpriEndDet = '/unprinted_end_details';
    cSavCaret       = '/caret';
    cSavColor       = '/color';
    cSavBookmark    = '/bm';
    cSavFold        = '/folded';
  
  var
    FLastTabId: integer = 0;
  
negative.code:   items: TStringlist;
  begin
    //file not listed?
    if c.GetValue(path+cHistory_Top, -1)<0 then exit;
  
    //lexer
    if Lexer=nil then str0:= '' else str0:= Lexer.LexerName;
    str:= c.GetValue(path+cHistory_Lexer, str0);
    if str='PHP' then
      str:= 'HTML'; //Cud 1.14: HTML lexer handles php files
    if (str<>'') and (str<>str0) then
  