Exemplo n.º 1
0
        internal AeroRichEditUnprotectedScope(AeroRichEdit ctl)
        {
            _prev = ctl._allowProtectedModifications;

            _ctl = ctl;
            _ctl._allowProtectedModifications = true;
            _ctl.TextDocument.Freeze();
        }
Exemplo n.º 2
0
        internal RichTextDocument(AeroRichEdit box, IRichEditOle ole)
        {
            if (box == null)
            {
                throw new ArgumentNullException("box");
            }
            if (ole == null)
            {
                throw new ArgumentNullException("ole");
            }

            _richEdit = box;
            //_richEditOle = ole;
            _textDocument = (ITextDocument)(ole);
        }