protected override void DoTextFound( IRtfText text ) { if ( curGroup == null ) { throw new RtfStructureException( Strings.MissingGroupForNewText ); } curGroup.WritableContents.Add( text ); }