anchor.diff:    if UiOps.HistoryItems[ahhCaret] then
       DoSaveHistory_Caret(Ed, c, path);
   
  +  {
  +  //it's bad to save markers along with other history items,
  +  //because if a snippet (with markers) inserted + file was not saved after it,
  +  //we have wrong markers to save
     if UiOps.HistoryItems[ahhMarkers] then
       c.SetDeleteValue(path+cHistory_Markers, Ed.Markers.AsString, '');
  +  }
   
     if UiOps.HistoryItems[ahhBookmarks] then
       DoSaveHistory_Bookmarks(Ed, c, path);
  
positive.code:     if ACaret then
        cfg.DeleteValue(path+cHistory_Caret);
  
      if AMarkers then
        cfg.DeleteValue(path+cHistory_Markers);
  
    finally
      FreeAndNil(cfg);
  
negative.code:   FInHistory:= sCarets<>'';
    if not FInHistory then exit;
  
    {
    //markers
    //it's bad to save markers along with other history items,
    //so this is commented
    Ed.Markers.AsString:= c.GetValue(path+cHistory_Markers, '');
    }
  
    //lexer
    str0:= LexerName[Ed];
  