C# Class ICSharpCode.TextEditor.Actions.ToggleBlockComment

Inheritance: ICSharpCode.TextEditor.Actions.AbstractEditAction
Mostrar archivo Open project: Clancey/MonoMac.Windows.Form Class Usage Examples

Public Methods

Method Description
Execute ( TextArea textArea ) : void Executes this edit action
FindSelectedCommentRegion ( IDocument document, string commentStart, string commentEnd, int selectionStartOffset, int selectionEndOffset ) : BlockCommentRegion

Private Methods

Method Description
RemoveComment ( IDocument document, BlockCommentRegion commentRegion ) : void
SetCommentAt ( IDocument document, int offsetStart, int offsetEnd, string commentStart, string commentEnd ) : void

Method Details

Execute() public method

Executes this edit action
public Execute ( TextArea textArea ) : void
textArea TextArea The which is used for callback purposes
return void

FindSelectedCommentRegion() public static method

public static FindSelectedCommentRegion ( IDocument document, string commentStart, string commentEnd, int selectionStartOffset, int selectionEndOffset ) : BlockCommentRegion
document IDocument
commentStart string
commentEnd string
selectionStartOffset int
selectionEndOffset int
return BlockCommentRegion