AvalonStudio.Languages.CSharp.CSharpDataAssociation.CSharpDataAssociation C# (CSharp) Method

CSharpDataAssociation() public method

public CSharpDataAssociation ( TextEditor.TextDocument textDocument ) : Avalonia.Input
textDocument TextEditor.TextDocument
return Avalonia.Input
        public CSharpDataAssociation(TextDocument textDocument)
        {
            BackgroundRenderers = new List<IBackgroundRenderer>();
            DocumentLineTransformers = new List<IDocumentLineTransformer>();

            TextColorizer = new TextColoringTransformer(textDocument);
            TextMarkerService = new TextMarkerService(textDocument);

            BackgroundRenderers.Add(new BracketMatchingBackgroundRenderer());
            BackgroundRenderers.Add(TextMarkerService);

            DocumentLineTransformers.Add(TextColorizer);
        }
CSharpDataAssociation