C# Класс RazorPad.UI.Editors.DefaultFormattingStrategy

Наследование: IFormattingStrategy
Показать файл Открыть проект

Открытые методы

Метод Описание
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