예제 #1
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);
        }
예제 #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);
        }