C# Class AcManager.Tools.TextEditing.IniFoldingStrategy

Mostra file Open project: gro-ove/actools

Public Methods

Method Description
CreateNewFoldings ( TextDocument document ) : IEnumerable
Set ( TextEditor editor ) : void
UpdateFoldings ( ICSharpCode.AvalonEdit.Folding.FoldingManager manager, TextDocument document ) : void

Private Methods

Method Description
IniFoldingStrategy ( TextEditor editor ) : System
OnTextChanged ( object sender, EventArgs e ) : void
Update ( ) : void

Method Details

CreateNewFoldings() public method

public CreateNewFoldings ( TextDocument document ) : IEnumerable
document ICSharpCode.AvalonEdit.Document.TextDocument
return IEnumerable

Set() public static method

public static Set ( TextEditor editor ) : void
editor ICSharpCode.AvalonEdit.TextEditor
return void

UpdateFoldings() public method

public UpdateFoldings ( ICSharpCode.AvalonEdit.Folding.FoldingManager manager, TextDocument document ) : void
manager ICSharpCode.AvalonEdit.Folding.FoldingManager
document ICSharpCode.AvalonEdit.Document.TextDocument
return void