Méthode | Description | |
---|---|---|
FormatRange ( ITextView textView, ITextBuffer textBuffer, ITextRange formatRange, Microsoft.R.Core.Formatting.RFormatOptions options, IEditorShell editorShell ) : bool | ||
FormatRangeExact ( ITextView textView, ITextBuffer textBuffer, ITextRange formatRange, Microsoft.R.Core.Formatting.RFormatOptions options, IEditorShell editorShell ) : bool |
Méthode | Description | |
---|---|---|
CanFormatRange ( ITextView textView, ITextBuffer textBuffer, ITextRange formatRange, IEditorShell editorShell ) : bool | ||
FindStartOfExpression ( ITextBuffer textBuffer, int position ) : int |
Given position in the buffer tries to detemine start of the expression.
|
|
IndentLines ( ITextView textView, ITextBuffer textBuffer, ITextRange range, |
Appends indentation to each line so formatted text appears properly indented inside the host document (script block in HTML page).
|
|
UpdateAst ( ITextBuffer textBuffer ) : |
public static FormatRange ( ITextView textView, ITextBuffer textBuffer, ITextRange formatRange, Microsoft.R.Core.Formatting.RFormatOptions options, IEditorShell editorShell ) : bool | ||
textView | ITextView | |
textBuffer | ITextBuffer | |
formatRange | ITextRange | |
options | Microsoft.R.Core.Formatting.RFormatOptions | |
editorShell | IEditorShell | |
Résultat | bool |
public static FormatRangeExact ( ITextView textView, ITextBuffer textBuffer, ITextRange formatRange, Microsoft.R.Core.Formatting.RFormatOptions options, IEditorShell editorShell ) : bool | ||
textView | ITextView | |
textBuffer | ITextBuffer | |
formatRange | ITextRange | |
options | Microsoft.R.Core.Formatting.RFormatOptions | |
editorShell | IEditorShell | |
Résultat | bool |