C# Class Microsoft.Languages.Editor.Outline.OutlineRegionBuilder

Base outline (collapsible regions) builder. Performs region building in a background thread that starts on idle so it does not run continuously as user is typing or otherwise constantly changing the underlying text buffer content.
Inheritance: IDisposable
Afficher le fichier Open project: Microsoft/RTVS Class Usage Examples

Méthodes publiques

Méthode Description
BuildRegions ( OutlineRegionCollection newRegions ) : bool
Dispose ( ) : void

Méthodes protégées

Méthode Description
CompareRegions ( OutlineRegionCollection newRegions, OutlineRegionCollection oldRegions, int upperBound ) : ITextRange
Dispose ( bool disposing ) : void
MainThreadAction ( object backgroundProcessingResult ) : void
OnTextBufferChanged ( object sender, TextContentChangedEventArgs e ) : void
OutlineRegionBuilder ( ITextBuffer textBuffer, IEditorShell editorShell ) : System
TaskAction ( ) : object

Method Details

BuildRegions() public abstract méthode

public abstract BuildRegions ( OutlineRegionCollection newRegions ) : bool
newRegions OutlineRegionCollection
Résultat bool

CompareRegions() protected méthode

protected CompareRegions ( OutlineRegionCollection newRegions, OutlineRegionCollection oldRegions, int upperBound ) : ITextRange
newRegions OutlineRegionCollection
oldRegions OutlineRegionCollection
upperBound int
Résultat ITextRange

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

MainThreadAction() protected méthode

protected MainThreadAction ( object backgroundProcessingResult ) : void
backgroundProcessingResult object
Résultat void

OnTextBufferChanged() protected méthode

protected OnTextBufferChanged ( object sender, TextContentChangedEventArgs e ) : void
sender object
e TextContentChangedEventArgs
Résultat void

OutlineRegionBuilder() protected méthode

protected OutlineRegionBuilder ( ITextBuffer textBuffer, IEditorShell editorShell ) : System
textBuffer ITextBuffer
editorShell IEditorShell
Résultat System

TaskAction() protected méthode

protected TaskAction ( ) : object
Résultat object