FoldingRegionMatch
Represents a folding start or end match structure. It keeps the index of the match and the start/end tag (keyword) which is matched in the document.
Definition
Namespace:Telerik.Windows.Controls.SyntaxEditor.Taggers
Assembly:Telerik.Windows.Controls.SyntaxEditor.dll
Syntax:
public class FoldingRegionMatch : IComparable
Inheritance: objectFoldingRegionMatch
Implements:
Constructors
public FoldingRegionMatch()
Properties
Gets a value indicating whether the folding match is start or end of a folding region.
public bool IsStart { get; }
Gets or sets a value indicating whether the folding match is already used in a folding region.
public bool IsUsed { get; set; }
Methods
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Returns a hash code for this instance.
public override int GetHashCode()
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Overrides:
Operators
Implements the != operator.
public static bool operator !=(FoldingRegionMatch left, FoldingRegionMatch right)
The left.
rightFoldingRegionMatchThe right.
Returns:The result of the operator.
Implements the < operator.
public static bool operator <(FoldingRegionMatch left, FoldingRegionMatch right)
The left.
rightFoldingRegionMatchThe right.
Returns:The result of the operator.
Implements the <= operator.
public static bool operator <=(FoldingRegionMatch left, FoldingRegionMatch right)
The left.
rightFoldingRegionMatchThe right.
Returns:The result of the operator.
Implements the == operator.
public static bool operator ==(FoldingRegionMatch left, FoldingRegionMatch right)
The left.
rightFoldingRegionMatchThe right.
Returns:The result of the operator.
Implements the > operator.
public static bool operator >(FoldingRegionMatch left, FoldingRegionMatch right)
The left.
rightFoldingRegionMatchThe right.
Returns:The result of the operator.
Implements the >= operator.
public static bool operator >=(FoldingRegionMatch left, FoldingRegionMatch right)
The left.
rightFoldingRegionMatchThe right.
Returns:The result of the operator.