public EditorVisualHost(TextEditorCanvas textEditorCanvas)
        {
            Configurations.InitializeFontSizes();

            children      = new VisualCollection(this);
            highlight     = new HighlightLayer(textEditorCanvas);
            auxiliary     = new AuxiliaryLayer(textEditorCanvas);
            lineHeading   = new LineHeadingLayer(textEditorCanvas);
            sourceDisplay = new SourceDisplayLayer(textEditorCanvas);
        }
示例#2
0
        public EditorVisualHost(TextEditorCanvas textEditorCanvas)
        {
            Configurations.InitializeFontSizes();

            children = new VisualCollection(this);
            highlight = new HighlightLayer(textEditorCanvas);
            auxiliary = new AuxiliaryLayer(textEditorCanvas);
            lineHeading = new LineHeadingLayer(textEditorCanvas);
            sourceDisplay = new SourceDisplayLayer(textEditorCanvas);
        }