anchor.diff:      else
         fCurrRange.rangeKinds += [rkBlockCom2];
       readLine(reader, fTokStop);
  -    StartCodeFoldBlock(nil, fkComments2 in fFoldKinds);
  +    if (fTokKind = tkCommt) and (fkComments2 in fFoldKinds) then
  +      StartCodeFoldBlock(nil)
  +    else if (fTokKind = tkDDocs) and (fkDDoc in fFoldKinds) then
  +      StartCodeFoldBlock(nil);
       exit;
     end else readerReset;
     if (rkBlockCom2 in fCurrRange.rangeKinds) or (rkBlockDoc2 in fCurrRange.rangeKinds) then
  
positive.code:       end;
      end;
      fCurrRange.rangeKinds += [rkString1];
      StartCodeFoldBlock(nil, fkStrings in fFoldKinds);
      exit;
    end else _postString1: readerReset;
    if rkString1 in fCurrRange.rangeKinds then
  
negative.code:   TRangeKinds = set of TRangeKind;
  
    // defines the ranges which can be folded
    TFoldKinds = set of (fkBrackets, fkComments1, fkComments2, fkStrings, fkRegion, fkDDoc);
  
    // internal class used to keep trace of the useful informations of the previous line
    TSynD2SynRange = class(TSynCustomHighlighterRange)
  