C# 클래스 Microsoft.R.Editor.Formatting.RangeFormatter

파일 보기 프로젝트 열기: Microsoft/RTVS 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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, AstRoot ast, Microsoft.R.Core.Formatting.RFormatOptions options, int originalIndentSizeInSpaces ) : void

Appends indentation to each line so formatted text appears properly indented inside the host document (script block in HTML page).

UpdateAst ( ITextBuffer textBuffer ) : AstRoot

메소드 상세

FormatRange() 공개 정적인 메소드

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
리턴 bool

FormatRangeExact() 공개 정적인 메소드

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
리턴 bool