Пример #1
0
        protected override void InternalInitialize()
        {
            base.InternalInitialize();

            Indicators = new StandardIndicators(Ref);
            Styles = new StandardStyles(Ref);
            Keyboard = new KeyboardManager(Ref);
            Folding = new FoldingManager(Ref);

            Ref.Send(Sci.SCI_USEPOPUP, false);
            Ref.Send(Sci.SCI_CALLTIPUSESTYLE, 0);
            Ref.Send(Sci.SCI_SETLEXER, 0);
            Ref.Send(Sci.SCI_AUTOCSETMAXHEIGHT, 20);
            Ref.Send(Sci.SCI_SETMOUSEDWELLTIME, 500);

            InitializeMargins();
            InitializeMarkers();
        }