C# Class Microsoft.R.Editor.Formatting.AutoFormat

Afficher le fichier Open project: Microsoft/RTVS

Méthodes publiques

Méthode Description
HandleAutoformat ( ITextView textView, IEditorShell editorShell, char typedChar ) : void
IsPostProcessAutoformatTriggerCharacter ( char ch ) : bool
IsPreProcessAutoformatTriggerCharacter ( char ch ) : bool

Private Methods

Méthode Description
GetCaretPointInBuffer ( ITextView textView ) : SnapshotPoint?
GetFormatScope ( ITextView textView, ITextBuffer textBuffer, AstRoot ast ) : IKeywordScopeStatement
IsBetweenCurlyAndElse ( ITextBuffer textBuffer, int position ) : bool

Method Details

HandleAutoformat() public static méthode

public static HandleAutoformat ( ITextView textView, IEditorShell editorShell, char typedChar ) : void
textView ITextView
editorShell IEditorShell
typedChar char
Résultat void

IsPostProcessAutoformatTriggerCharacter() public static méthode

public static IsPostProcessAutoformatTriggerCharacter ( char ch ) : bool
ch char
Résultat bool

IsPreProcessAutoformatTriggerCharacter() public static méthode

public static IsPreProcessAutoformatTriggerCharacter ( char ch ) : bool
ch char
Résultat bool