Method | Description | |
---|---|---|
EndTracking ( ) : void |
Restores saved selection
|
|
RSelectionTracker ( ITextView textView, ITextBuffer textBuffer, ITextRange changingRange ) : System |
SelectionTracker constructor
|
|
StartTracking ( bool automaticTracking ) : void |
Saves current selection
|
Method | Description | |
---|---|---|
PositionFromTokens ( ITextSnapshot snapshot, int itemIndex, int offset ) : int | ||
TokenFromPosition ( ITextSnapshot snapshot, int position, int &itemIndex, int &offset ) : void |
public RSelectionTracker ( ITextView textView, ITextBuffer textBuffer, ITextRange changingRange ) : System | ||
textView | ITextView | Text view |
textBuffer | ITextBuffer | Editor text buffer (may be different from one attached to text view) |
changingRange | ITextRange | Range that is changing in the buffer |
return | System |
public StartTracking ( bool automaticTracking ) : void | ||
automaticTracking | bool | |
return | void |