Метод | Описание | |
---|---|---|
Add ( int start, int end ) : void |
Adds the indicator and IndicatorValue value to the specified range of text.
|
|
Clear ( int start, int end ) : void |
Clears the indicator and IndicatorValue value from the specified range of text.
|
|
DefinedAt ( int pos ) : bool |
Returns true if the indicator is present at the given position
|
|
End ( int position ) : int |
Find the end of an indicator range from a position Can be used to iterate through the document to discover all the indicator positions. Specifying a position which is not filled with this indicator will cause this method to return the end position of the range where this indicator is not in use (the negative space). If this indicator is not in use anywhere within the document the return value will be 0. |
|
FindRanges ( ) : List |
List of points(start, end) that represents the range were the given indicator has been found
|
|
Indicator ( int index ) : System |
Initializes a new instance of the Indicator class.
|
|
IndicatorAllOnFor ( int position ) : uint |
Returns a bitmap representing the 32 indicators in use at the specified position.
|
|
IndicatorClearRange ( int position, int length ) : void |
Removes the IndicatorCurrent indicator (and user-defined value) from the specified range of text.
|
|
IndicatorFillRange ( int position, int length ) : void |
Adds the IndicatorCurrent indicator and IndicatorValue value to the specified range of text.
|
|
Start ( int position ) : int |
Find the start of an indicator range from a position Can be used to iterate through the document to discover all the indicator positions. Specifying a position which is not filled with this indicator will cause this method to return the start position of the range where this indicator is not in use (the negative space). If this indicator is not in use anywhere within the document the return value will be 0. |
|
ValueAt ( int position ) : int |
Returns the user-defined value for the indicator at the specified position.
|
public End ( int position ) : int | ||
position | int | A zero-based document position using this indicator. |
Результат | int |
public Indicator ( int index ) : System | ||
index | int | The index of this style within the IndicatorCollection that created it. |
Результат | System |
public static IndicatorAllOnFor ( int position ) : uint | ||
position | int | The zero-based character position within the document to test. |
Результат | uint |
public static IndicatorClearRange ( int position, int length ) : void | ||
position | int | The zero-based character position within the document to start clearing. |
length | int | The number of characters to clear. |
Результат | void |
public static IndicatorFillRange ( int position, int length ) : void | ||
position | int | The zero-based character position within the document to start filling. |
length | int | The number of characters to fill. |
Результат | void |
public Start ( int position ) : int | ||
position | int | A zero-based document position using this indicator. |
Результат | int |
public ValueAt ( int position ) : int | ||
position | int | The zero-based document position to get the indicator value for. |
Результат | int |