Method | Description | |
---|---|---|
FormatCurrentScope ( ITextView textView, ITextBuffer textBuffer, IEditorShell editorShell, bool indentCaret ) : void | ||
FormatCurrentStatement ( ITextView textView, ITextBuffer textBuffer, IEditorShell editorShell, bool limitAtCaret = false, int caretOffset ) : void |
Formats statement that the caret is at
|
|
FormatNode ( ITextView textView, ITextBuffer textBuffer, IEditorShell editorShell, IAstNode node, int limit = -1 ) : void |
Formats specific AST node
|
|
FormatViewLine ( ITextView textView, ITextBuffer textBuffer, int offset, IEditorShell editorShell ) : void |
Formats line the caret is currently at
|
|
GetIndentDefiningNode ( |
||
UndoableFormatRange ( ITextView textView, ITextBuffer textBuffer, ITextRange formatRange, IEditorShell editorShell, bool exactRange = false ) : void |
Method | Description | |
---|---|---|
IndentCaretInNewScope ( ITextView textView, IScope scope, SnapshotPoint caretBufferPoint, Microsoft.R.Core.Formatting.RFormatOptions options ) : void |
public static FormatCurrentScope ( ITextView textView, ITextBuffer textBuffer, IEditorShell editorShell, bool indentCaret ) : void | ||
textView | ITextView | |
textBuffer | ITextBuffer | |
editorShell | IEditorShell | |
indentCaret | bool | |
return | void |
public static FormatCurrentStatement ( ITextView textView, ITextBuffer textBuffer, IEditorShell editorShell, bool limitAtCaret = false, int caretOffset ) : void | ||
textView | ITextView | |
textBuffer | ITextBuffer | |
editorShell | IEditorShell | |
limitAtCaret | bool | |
caretOffset | int | |
return | void |
public static FormatNode ( ITextView textView, ITextBuffer textBuffer, IEditorShell editorShell, IAstNode node, int limit = -1 ) : void | ||
textView | ITextView | |
textBuffer | ITextBuffer | |
editorShell | IEditorShell | |
node | IAstNode | |
limit | int | |
return | void |
public static FormatViewLine ( ITextView textView, ITextBuffer textBuffer, int offset, IEditorShell editorShell ) : void | ||
textView | ITextView | |
textBuffer | ITextBuffer | |
offset | int | |
editorShell | IEditorShell | |
return | void |
public static GetIndentDefiningNode ( |
||
ast | ||
position | int | |
return | IAstNode |
public static UndoableFormatRange ( ITextView textView, ITextBuffer textBuffer, ITextRange formatRange, IEditorShell editorShell, bool exactRange = false ) : void | ||
textView | ITextView | |
textBuffer | ITextBuffer | |
formatRange | ITextRange | |
editorShell | IEditorShell | |
exactRange | bool | |
return | void |