anchor.diff:    TabColor:= StringToColorDef(c.GetValue(path+cHistory_TabColor, ''), clNone);
   
     if not Ed.IsReadOnlyAutodetected then
  -    ReadOnly[Ed]:= c.GetValue(path+cHistory_RO, ReadOnly[Ed]);
  +    ReadOnly[Ed]:= c.GetValue(path+cHistory_ReadOnly, ReadOnly[Ed]);
   
     if not FileWasBig[Ed] then
     begin
  
positive.code:     c.SetValue(path+cHistory_Enc, Ed.EncodingName);
  
    if UiOps.HistoryItems[ahhTopLine] then
      c.SetDeleteValue(path+cHistory_Top, Ed.LineTop, 0);
  
    if UiOps.HistoryItems[ahhWordWrap] then
      c.SetDeleteValue(path+cHistory_Wrap, Ord(Ed.OptWrapMode), 0);
  
    if not Ed.IsReadOnlyAutodetected then
      c.SetDeleteValue(path+cHistory_RO, ReadOnly[Ed], false);
  
    if UiOps.HistoryItems[ahhRuler] then
      c.SetDeleteValue(path+cHistory_Ruler, Ed.OptRulerVisible, false);
  
negative.code: const
    cHistory_Lexer       = '/lexer';
    cHistory_Enc         = '/enc';
    cHistory_TopLine     = '/top';
    cHistory_Wrap        = '/wrap_mode';
    cHistory_ReadOnly    = '/ro';
    cHistory_Ruler       = '/ruler';
    cHistory_Minimap     = '/minimap';
    cHistory_Micromap    = '/micromap';
    cHistory_TabSize     = '/tab_size';
    cHistory_TabSpace    = '/tab_spaces';
    cHistory_LineNums    = '/nums';
    cHistory_FontScale   = '/scale';
    cHistory_Unpri        = '/unprinted_show';
    cHistory_Unpri_Spaces = '/unprinted_spaces';
    cHistory_Unpri_Ends   = '/unprinted_ends';
  