C# Class 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.
Inheritance: ITextStructureNavigator
Afficher le fichier Open project: Microsoft/RTVS

Méthodes publiques

Méthode Description
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

Method Details

GetExtentOfWord() public méthode

public GetExtentOfWord ( SnapshotPoint currentPosition ) : TextExtent
currentPosition SnapshotPoint
Résultat TextExtent

GetSpanOfEnclosing() public méthode

public GetSpanOfEnclosing ( SnapshotSpan activeSpan ) : SnapshotSpan
activeSpan SnapshotSpan
Résultat SnapshotSpan

GetSpanOfFirstChild() public méthode

public GetSpanOfFirstChild ( SnapshotSpan activeSpan ) : SnapshotSpan
activeSpan SnapshotSpan
Résultat SnapshotSpan

GetSpanOfNextSibling() public méthode

public GetSpanOfNextSibling ( SnapshotSpan activeSpan ) : SnapshotSpan
activeSpan SnapshotSpan
Résultat SnapshotSpan

GetSpanOfPreviousSibling() public méthode

public GetSpanOfPreviousSibling ( SnapshotSpan activeSpan ) : SnapshotSpan
activeSpan SnapshotSpan
Résultat SnapshotSpan

TextStructureNavigator() public méthode

public TextStructureNavigator ( ITextBuffer textBuffer, IContentTypeRegistryService crs, ITextStructureNavigatorSelectorService nss ) : Microsoft.Languages.Editor.Extensions
textBuffer ITextBuffer
crs IContentTypeRegistryService
nss ITextStructureNavigatorSelectorService
Résultat Microsoft.Languages.Editor.Extensions