C# Class Microsoft.Languages.Editor.Projection.ProjectionBufferManager

Manages the projection buffer for the primary language
Inheritance: IProjectionBufferManager
Afficher le fichier Open project: Microsoft/RTVS

Méthodes publiques

Méthode Description
Dispose ( ) : void
FromTextBuffer ( ITextBuffer textBuffer ) : IProjectionBufferManager
ProjectionBufferManager ( ITextBuffer diskBuffer, IProjectionBufferFactoryService projectionBufferFactoryService, IContentTypeRegistryService contentTypeRegistryService, ICoreShell coreShell, string topLevelContentTypeName, string secondaryContentTypeName ) : System
SetProjectionMappings ( string secondaryContent, IReadOnlyList mappings ) : void

Private Methods

Méthode Description
CreateSecondarySpans ( string secondaryText, IReadOnlyList mappings ) : List
CreateViewSpans ( IReadOnlyList mappings ) : List
GetCaret ( ) : ITextCaret
GetCaretPosition ( ) : int?
MapEverythingToView ( ) : void
RestoreCaretPosition ( ) : void
SaveCaretPosition ( ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

FromTextBuffer() public static méthode

public static FromTextBuffer ( ITextBuffer textBuffer ) : IProjectionBufferManager
textBuffer ITextBuffer
Résultat IProjectionBufferManager

ProjectionBufferManager() public méthode

public ProjectionBufferManager ( ITextBuffer diskBuffer, IProjectionBufferFactoryService projectionBufferFactoryService, IContentTypeRegistryService contentTypeRegistryService, ICoreShell coreShell, string topLevelContentTypeName, string secondaryContentTypeName ) : System
diskBuffer ITextBuffer
projectionBufferFactoryService IProjectionBufferFactoryService
contentTypeRegistryService IContentTypeRegistryService
coreShell ICoreShell
topLevelContentTypeName string
secondaryContentTypeName string
Résultat System

SetProjectionMappings() public méthode

public SetProjectionMappings ( string secondaryContent, IReadOnlyList mappings ) : void
secondaryContent string
mappings IReadOnlyList
Résultat void