Esempio n. 1
0
        internal DocumentView(DocumentViewSurface surface)
        {
            this.surface = surface;

            renderStuff = new RenderStuff(this);
            trace = new ViewControlTrace(this);
            keyActionMap = new KeyActionMap();
            renderList = new Dictionary<int, DocumentRowView>();

            createKeyCommands();

            ClearStuff();

            selectionStyle = new Style();
            selectionStyle.Foreground = Color.White;
            selectionStyle.Background = Color.Blue;

            viewStyle = new ViewStyle();
        }
Esempio n. 2
0
        internal DocumentView(DocumentViewSurface surface)
        {
            this.surface = surface;

            renderStuff  = new RenderStuff(this);
            trace        = new ViewControlTrace(this);
            keyActionMap = new KeyActionMap();
            renderList   = new Dictionary <int, DocumentRowView>();

            createKeyCommands();

            ClearStuff();

            selectionStyle = new Style
            {
                Foreground = Color.White,
                Background = Color.Blue
            };

            viewStyle = new ViewStyle();
        }