//CONSTRUCTORS Document() { this.paragraphs = new List<Paragraph>(); this.RenderedTextPos = new TextPosition(); this.DisplayedTextPos = new TextPosition(); this.SelectedTextPos = new List<TextPosition>(); }
//FUNCTIONS void AddParagraph(TextPosition tp) { paragraphs.Add(new Paragraph(this)); throw new NotImplementedException("only partially implemented"); }