Provides the base requirements for a class containing helper methods related to working with an IEditor
- Type Parameters:
-
TTagger
-TTag
-
Properties
this[TTag]
Gets the tag range that points to the specified indicator tag.
[C#] In C#, this property is the indexer for the type.
Parameter | Type | Description |
---|---|---|
tag | TTag | The indicator tag for which to search. |
Property Value
- Tag
Version <TTag>:Range The indicator tag range that points to the specified tag.
Methods
Clear()
Removes all indicators.
GetInstance()
Returns the single indicator tag range.
Returns
- Tag
Version <TTag>:Range The collection of indicator tag ranges.
SetInstance(TextSnapshotRange)
Removes any other existing indicator and adds new default indicator that is applied to a snapshot text range.
Parameter | Type | Description |
---|---|---|
snapshotRange | Text |
The target Text |
Returns
- Tag
Version <TTag>:Range The TagVersionRange<T> that was created.
SetInstance(TextSnapshotRange, TTag)
Removes any other existing indicator and adds new indicator that is applied to a snapshot text range.
Parameter | Type | Description |
---|---|---|
snapshotRange | Text |
The target Text |
tag | TTag | The IIndicator |
Returns
- Tag
Version <TTag>:Range The TagVersionRange<T> that was created.