FoldingManager
Class FoldingManager.
Definition
Namespace:Telerik.WinForms.Controls.SyntaxEditor.Folding
Assembly:Telerik.WinControls.SyntaxEditor.dll
Syntax:
public class FoldingManager
Inheritance: objectFoldingManager
Properties
Gets the editor.
public RadSyntaxEditorElement Editor { get; }
The editor.
FoldingRegions
IEnumerable<FoldingRegion>
Gets the folding regions.
public IEnumerable<FoldingRegion> FoldingRegions { get; }
The folding regions.
Gets a value indicating whether this instance is update in progress.
public bool IsUpdateInProgress { get; }
true if this instance is update in progress; otherwise, false.
Methods
Begins the update.
public void BeginUpdate()
Clears the foldings.
public void ClearFoldings()
Ends the update.
Gets the index of the foldings containing.
public IEnumerable<FoldingRegion> GetFoldingsContainingIndex(int index)
The index.
Returns:IEnumerable<FoldingRegion>
Gets the foldings containing line.
public IEnumerable<FoldingRegion> GetFoldingsContainingLine(int lineNumber)
The line number.
Returns:IEnumerable<FoldingRegion>
Gets the foldings intersecting span.
public IEnumerable<FoldingRegion> GetFoldingsIntersectingSpan(Span span)
The span.
Returns:IEnumerable<FoldingRegion>
Removes the folding.
public void RemoveFolding(FoldingRegion foldingRegion)
The folding region.
Unfolds the index of all regions containing.