C# Класс CodeConnect.Gistify.Extension.TextManagerExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
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)

Приватные методы

Метод Описание
GetActiveTextView ( IVsTextManager textManager ) : IWpfTextView

Gets the active IWpfTextView, if one exists.

Описание методов

TryFindDocumentAndPosition() публичный статический Метод

Obtains caret position and file name associated with current selection in the editor (supplied via textManager)
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
Результат bool