C# Class dnSpy.Text.Operations.TextStructureNavigator

Default navigator. A word is just one character. This one shouldn't be used at all, it's just the default one created by TextStructureNavigatorSelectorService if nothing else is found.
Inheritance: ITextStructureNavigator
Afficher le fichier Open project: 0xd4d/dnSpy

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, IContentType contentType ) : System

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, IContentType contentType ) : System
textBuffer ITextBuffer
contentType IContentType
Résultat System