Description of TextDocument.
Inheritance: Document
        public override void Load( string filename )
        {
            Debug.WriteLine( "Loading " + filename );

            TextReader reader = new StreamReader( filename );

            TextDocument td = new TextDocument();
            td.Text = reader.ReadToEnd();
            reader.Close();

            document = td;
            base.Load( filename );
        }
        //  ---------------------------------------------------------------------
        //  Methods.
        //  ---------------------------------------------------------------------
        public override void NewDocument()
        {
            document = new TextDocument();

            base.NewDocument();
        }