C# Класс Microsoft.R.Editor.Navigation.Text.TextStructureNavigator

Implements R-language specific word selection, otherwise it delegates to the default plain text structure navigator. Default VS structure navigator considers a.b.c to be 3 words while in R it is a single identifier. Text structure navigator provides word selection to find (Ctrl+F and Ctrl+F3) as well as to double-click.
Наследование: ITextStructureNavigator
Показать файл Открыть проект

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

Метод Описание
GetExtentOfWord ( SnapshotPoint currentPosition ) : TextExtent
GetSpanOfEnclosing ( SnapshotSpan activeSpan ) : SnapshotSpan
GetSpanOfFirstChild ( SnapshotSpan activeSpan ) : SnapshotSpan
GetSpanOfNextSibling ( SnapshotSpan activeSpan ) : SnapshotSpan
GetSpanOfPreviousSibling ( SnapshotSpan activeSpan ) : SnapshotSpan
TextStructureNavigator ( ITextBuffer textBuffer, IContentTypeRegistryService crs, ITextStructureNavigatorSelectorService nss ) : Microsoft.Languages.Editor.Extensions

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

GetExtentOfWord() публичный Метод

public GetExtentOfWord ( SnapshotPoint currentPosition ) : TextExtent
currentPosition SnapshotPoint
Результат TextExtent

GetSpanOfEnclosing() публичный Метод

public GetSpanOfEnclosing ( SnapshotSpan activeSpan ) : SnapshotSpan
activeSpan SnapshotSpan
Результат SnapshotSpan

GetSpanOfFirstChild() публичный Метод

public GetSpanOfFirstChild ( SnapshotSpan activeSpan ) : SnapshotSpan
activeSpan SnapshotSpan
Результат SnapshotSpan

GetSpanOfNextSibling() публичный Метод

public GetSpanOfNextSibling ( SnapshotSpan activeSpan ) : SnapshotSpan
activeSpan SnapshotSpan
Результат SnapshotSpan

GetSpanOfPreviousSibling() публичный Метод

public GetSpanOfPreviousSibling ( SnapshotSpan activeSpan ) : SnapshotSpan
activeSpan SnapshotSpan
Результат SnapshotSpan

TextStructureNavigator() публичный Метод

public TextStructureNavigator ( ITextBuffer textBuffer, IContentTypeRegistryService crs, ITextStructureNavigatorSelectorService nss ) : Microsoft.Languages.Editor.Extensions
textBuffer ITextBuffer
crs IContentTypeRegistryService
nss ITextStructureNavigatorSelectorService
Результат Microsoft.Languages.Editor.Extensions