Beispiel #1
0
        public override void ProcessSelection()
        {
            if (Word == null)
            {
                throw new NullReferenceException("Word can't be null");
            }

            base.ProcessSelection();
            Parent.ProcessSelection();
            Redactor.LoadElement(Word);
        }
Beispiel #2
0
        public override void ProcessSelection()
        {
            if (Line == null)
            {
                throw new NullReferenceException("Line can't be null");
            }

            base.ProcessSelection();

            if (Redactor.Line != Line)
            {
                Redactor.LoadElement(Line);
            }
        }