anchor.diff:      c.SetValue(path+cHistory_Enc, Ed.EncodingName);
   
     if UiOps.HistoryItems[ahhTopLine] then
  -    c.SetDeleteValue(path+cHistory_Top, Ed.LineTop, 0);
  +    c.SetDeleteValue(path+cHistory_TopLine, 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);
  +    c.SetDeleteValue(path+cHistory_ReadOnly, ReadOnly[Ed], false);
   
     if UiOps.HistoryItems[ahhRuler] then
       c.SetDeleteValue(path+cHistory_Ruler, Ed.OptRulerVisible, false);
  
positive.code:   end;
  
    if UiOps.HistoryItems[ahhLineNumbers] then
      c.SetDeleteValue(path+cHistory_Nums, Ed.Gutter[Ed.GutterBandNumbers].Visible, true);
  
    if UiOps.HistoryItems[ahhScale] then
      c.SetDeleteValue(path+cHistory_Scale, Ed.OptScaleFont, 0);
  
    if UiOps.HistoryItems[ahhFolding] then
      c.SetDeleteValue(path+cHistory_Fold, EditorGetFoldString(Ed), '');
  
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';
  