C# Класс Microsoft.Languages.Editor.Projection.ProjectionBufferManager

Manages the projection buffer for the primary language
Наследование: IProjectionBufferManager
Показать файл Открыть проект

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

Метод Описание
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

Приватные методы

Метод Описание
CreateSecondarySpans ( string secondaryText, IReadOnlyList mappings ) : List
CreateViewSpans ( IReadOnlyList mappings ) : List
GetCaret ( ) : ITextCaret
GetCaretPosition ( ) : int?
MapEverythingToView ( ) : void
RestoreCaretPosition ( ) : void
SaveCaretPosition ( ) : void

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

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

public Dispose ( ) : void
Результат void

FromTextBuffer() публичный статический Метод

public static FromTextBuffer ( ITextBuffer textBuffer ) : IProjectionBufferManager
textBuffer ITextBuffer
Результат IProjectionBufferManager

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

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
Результат System

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

public SetProjectionMappings ( string secondaryContent, IReadOnlyList mappings ) : void
secondaryContent string
mappings IReadOnlyList
Результат void