Method | Description | |
---|---|---|
TryFindDocumentAndPosition ( this textManager, string &filePath, int &selectionStart, int &selectionEnd ) : bool |
Obtains caret position and file name associated with current selection in the editor (supplied via textManager)
|
Method | Description | |
---|---|---|
GetActiveTextView ( IVsTextManager textManager ) : IWpfTextView |
Gets the active IWpfTextView, if one exists.
|
public static TryFindDocumentAndPosition ( this textManager, string &filePath, int &selectionStart, int &selectionEnd ) : bool | ||
textManager | this | Instance of IVsTextManager taken from the Package |
filePath | string | |
selectionStart | int | |
selectionEnd | int | |
return | bool |