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