if (foldingData != null)
{
- if ((!this.LayoutLines.FoldingCollection.IsHasParent(foldingData) ||
- !this.LayoutLines.FoldingCollection.IsParentHidden(foldingData))
- && foldingData.IsFirstLine(this.LayoutLines, i))
- render.DrawFoldingMark(foldingData.Expand, this.PageBound.X + this.GetRealtiveX(AreaType.FoldingArea), pos.Y);
if (this.LayoutLines.FoldingCollection.IsHidden(lineIndex))
continue;
+ if (foldingData.IsFirstLine(this.LayoutLines, i))
+ render.DrawFoldingMark(foldingData.Expand, this.PageBound.X + this.GetRealtiveX(AreaType.FoldingArea), pos.Y);
}
if (this.Document.DrawLineNumber)