C# Class ICSharpCode.TextEditor.Actions.ToggleBlockComment

Inheritance: ICSharpCode.TextEditor.Actions.AbstractEditAction
Afficher le fichier Open project: Clancey/MonoMac.Windows.Form Class Usage Examples

Méthodes publiques

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

Private Methods

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

Method Details

Execute() public méthode

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

FindSelectedCommentRegion() public static méthode

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