C# Class ShaderTools.VisualStudio.Hlsl.Formatting.FormattingExtensions

Afficher le fichier Open project: tgjones/HlslTools

Méthodes publiques

Méthode Description
Format ( this buffer, TextSpan span, IHlslOptionsService optionsService ) : void
FormatAfterTyping ( this textView, char ch, IHlslOptionsService optionsService ) : void

Private Methods

Méthode Description
ApplyEdits ( ITextBuffer textBuffer, IList edits ) : void
ShouldFormatOnCharacter ( char ch, IHlslOptionsService optionsService ) : bool
TryGetSyntaxTree ( ITextBuffer textBuffer, SyntaxTree &syntaxTree ) : bool

Method Details

Format() public static méthode

public static Format ( this buffer, TextSpan span, IHlslOptionsService optionsService ) : void
buffer this
span TextSpan
optionsService IHlslOptionsService
Résultat void

FormatAfterTyping() public static méthode

public static FormatAfterTyping ( this textView, char ch, IHlslOptionsService optionsService ) : void
textView this
ch char
optionsService IHlslOptionsService
Résultat void