C# Class Microsoft.Languages.Editor.ContainedLanguage.ContainedLanguageHandler

Inheritance: IContainedLanguageHandler
Afficher le fichier Open project: Microsoft/RTVS

Méthodes publiques

Méthode Description
GetCodeBlockOfLocation ( int bufferPosition ) : ITextRange

Locates contained language block for a given location.

GetCommandTargetOfLocation ( ITextView textView, int bufferPosition ) : ICommandTarget

Retrieves contained command target for a given location in the buffer.

Méthodes protégées

Méthode Description
ContainedLanguageHandler ( ITextBuffer textBuffer, ICoreShell coreShell ) : Microsoft.Common.Core.Shell
GetLanguageBlockOfLocation ( int bufferPosition ) : ITextRange
OnTextBufferChanged ( object sender, TextContentChangedEventArgs e ) : void

Method Details

ContainedLanguageHandler() protected méthode

protected ContainedLanguageHandler ( ITextBuffer textBuffer, ICoreShell coreShell ) : Microsoft.Common.Core.Shell
textBuffer ITextBuffer
coreShell ICoreShell
Résultat Microsoft.Common.Core.Shell

GetCodeBlockOfLocation() public abstract méthode

Locates contained language block for a given location.
public abstract GetCodeBlockOfLocation ( int bufferPosition ) : ITextRange
bufferPosition int
Résultat ITextRange

GetCommandTargetOfLocation() public abstract méthode

Retrieves contained command target for a given location in the buffer.
public abstract GetCommandTargetOfLocation ( ITextView textView, int bufferPosition ) : ICommandTarget
textView ITextView
bufferPosition int
Résultat ICommandTarget

GetLanguageBlockOfLocation() protected méthode

protected GetLanguageBlockOfLocation ( int bufferPosition ) : ITextRange
bufferPosition int
Résultat ITextRange

OnTextBufferChanged() protected abstract méthode

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