C# 클래스 RazorPad.UI.Editors.DefaultFormattingStrategy

상속: IFormattingStrategy
파일 보기 프로젝트 열기: RazorPad/RazorPad

공개 메소드들

메소드 설명
FindSelectedCommentRegion ( ITextEditor editor, string commentStart, string commentEnd ) : BlockCommentRegion
FormatLine ( ITextEditor editor, char charTyped ) : void
IndentLine ( ITextEditor editor, IDocumentLine line ) : void
IndentLines ( ITextEditor editor, int begin, int end ) : void
SurroundSelectionWithComment ( ITextEditor editor ) : void

보호된 메소드들

메소드 설명
SurroundSelectionWithBlockComment ( ITextEditor editor, string blockStart, string blockEnd ) : void

Default implementation for multiline comments.

SurroundSelectionWithSingleLineComment ( ITextEditor editor, string comment ) : void

Default implementation for single line comments.

메소드 상세

FindSelectedCommentRegion() 공개 정적인 메소드

public static FindSelectedCommentRegion ( ITextEditor editor, string commentStart, string commentEnd ) : BlockCommentRegion
editor ITextEditor
commentStart string
commentEnd string
리턴 BlockCommentRegion

FormatLine() 공개 메소드

public FormatLine ( ITextEditor editor, char charTyped ) : void
editor ITextEditor
charTyped char
리턴 void

IndentLine() 공개 메소드

public IndentLine ( ITextEditor editor, IDocumentLine line ) : void
editor ITextEditor
line IDocumentLine
리턴 void

IndentLines() 공개 메소드

public IndentLines ( ITextEditor editor, int begin, int end ) : void
editor ITextEditor
begin int
end int
리턴 void

SurroundSelectionWithBlockComment() 보호된 메소드

Default implementation for multiline comments.
protected SurroundSelectionWithBlockComment ( ITextEditor editor, string blockStart, string blockEnd ) : void
editor ITextEditor
blockStart string
blockEnd string
리턴 void

SurroundSelectionWithComment() 공개 메소드

public SurroundSelectionWithComment ( ITextEditor editor ) : void
editor ITextEditor
리턴 void

SurroundSelectionWithSingleLineComment() 보호된 메소드

Default implementation for single line comments.
protected SurroundSelectionWithSingleLineComment ( ITextEditor editor, string comment ) : void
editor ITextEditor
comment string
리턴 void