메소드 | 설명 | |
---|---|---|
AreEqual ( ITextRange left, ITextRange right ) : bool |
Determines if ranges are equal. Ranges are equal when they are either both null or both are not null and their coordinates are equal.
|
|
Clone ( ) : object |
Creates copy of the text range object via memberwise cloning
|
|
Contains ( ITextRange range ) : bool |
Determines if text range fully contains another range
|
|
Contains ( ITextRange range, ITextRange other ) : bool |
Determines if range contains another range
|
|
Contains ( ITextRange range, ITextRange other, bool inclusiveEnd ) : bool |
Determines if range contains another range
|
|
Contains ( ITextRange range, int position ) : bool |
Determines if range contains given position
|
|
Contains ( int position ) : bool |
Determines if range contains given position
|
|
Contains ( int rangeStart, int rangeLength, int position ) : bool |
Determines if range contains given position
|
|
ContainsInclusiveEnd ( ITextRange range, ITextRange other ) : bool |
Determines if range contains another range or it contains start point of the other range and their end points are the same.
|
|
ContainsUsingInclusion ( int position ) : bool |
Determines if range contains given position
|
|
Expand ( int startOffset, int endOffset ) : void | ||
Intersect ( ITextRange range ) : bool |
Finds out of range intersects another range
|
|
Intersect ( ITextRange range1, ITextRange range2 ) : bool |
Finds out if range intersects another range
|
|
Intersect ( ITextRange range1, int rangeStart2, int rangeLength2 ) : bool |
Finds out if range intersects another range
|
|
Intersect ( int start, int length ) : bool |
Finds out of range intersects another range
|
|
Intersect ( int rangeStart1, int rangeLength1, int rangeStart2, int rangeLength2 ) : bool |
Finds out if range intersects another range
|
|
Intersection ( ITextRange range1, ITextRange range2 ) : ITextRange |
Calculates range that is an intersection of the supplied ranges.
|
|
Intersection ( ITextRange range1, int rangeStart, int rangeLength ) : ITextRange |
Calculates range that is an intersection of the supplied ranges.
|
|
IsValid ( ) : bool |
Finds out if range represents valid text range (it's length is greater than zero)
|
|
IsValid ( ITextRange range ) : bool |
Finds out if range represents valid text range (when range is not null and it's length is greater than zero)
|
|
TextRange ( ITextRange range ) : System |
Creates text range based on another text range
|
|
TextRange ( int position ) : System |
Creates text range starting at given position and length of zero.
|
|
Union ( ITextRange range1, ITextRange range2 ) : ITextRange |
Calculates range that includes both supplied ranges.
|
|
Union ( ITextRange range1, int rangeStart, int rangeLength ) : ITextRange |
Calculates range that includes both supplied ranges.
|
메소드 | 설명 | |
---|---|---|
Empty ( ) : void | ||
FromBounds ( int start, int end ) : |
||
Shift ( int offset ) : void | ||
TextRange ( ) : System | ||
TextRange ( int start, int length ) : System | ||
ToString ( ) : string |
public static AreEqual ( ITextRange left, ITextRange right ) : bool | ||
left | ITextRange | First range |
right | ITextRange | Second range |
리턴 | bool |
public static Contains ( ITextRange range, ITextRange other ) : bool | ||
range | ITextRange | |
other | ITextRange | |
리턴 | bool |
public static Contains ( ITextRange range, ITextRange other, bool inclusiveEnd ) : bool | ||
range | ITextRange | |
other | ITextRange | |
inclusiveEnd | bool | |
리턴 | bool |
public static Contains ( ITextRange range, int position ) : bool | ||
range | ITextRange | Text range |
position | int | Position |
리턴 | bool |
public static Contains ( int rangeStart, int rangeLength, int position ) : bool | ||
rangeStart | int | Start of the text range |
rangeLength | int | Length of the text range |
position | int | Position |
리턴 | bool |
public static ContainsInclusiveEnd ( ITextRange range, ITextRange other ) : bool | ||
range | ITextRange | |
other | ITextRange | |
리턴 | bool |
public ContainsUsingInclusion ( int position ) : bool | ||
position | int | |
리턴 | bool |
public Expand ( int startOffset, int endOffset ) : void | ||
startOffset | int | |
endOffset | int | |
리턴 | void |
public static Intersect ( ITextRange range1, ITextRange range2 ) : bool | ||
range1 | ITextRange | First text range |
range2 | ITextRange | Second text range |
리턴 | bool |
public static Intersect ( ITextRange range1, int rangeStart2, int rangeLength2 ) : bool | ||
range1 | ITextRange | |
rangeStart2 | int | Start of the second range |
rangeLength2 | int | Length of the second range |
리턴 | bool |
public Intersect ( int start, int length ) : bool | ||
start | int | Start of another range |
length | int | Length of another range |
리턴 | bool |
public static Intersect ( int rangeStart1, int rangeLength1, int rangeStart2, int rangeLength2 ) : bool | ||
rangeStart1 | int | Start of the first range |
rangeLength1 | int | Length of the first range |
rangeStart2 | int | Start of the second range |
rangeLength2 | int | Length of the second range |
리턴 | bool |
public static Intersection ( ITextRange range1, ITextRange range2 ) : ITextRange | ||
range1 | ITextRange | |
range2 | ITextRange | |
리턴 | ITextRange |
public static Intersection ( ITextRange range1, int rangeStart, int rangeLength ) : ITextRange | ||
range1 | ITextRange | |
rangeStart | int | |
rangeLength | int | |
리턴 | ITextRange |
public TextRange ( ITextRange range ) : System | ||
range | ITextRange | Text range to use as position source |
리턴 | System |
public static Union ( ITextRange range1, ITextRange range2 ) : ITextRange | ||
range1 | ITextRange | |
range2 | ITextRange | |
리턴 | ITextRange |
public static Union ( ITextRange range1, int rangeStart, int rangeLength ) : ITextRange | ||
range1 | ITextRange | |
rangeStart | int | |
rangeLength | int | |
리턴 | ITextRange |