parameters: (self, doc)
docstring: Change the document object used.
          @param doc: an L{ed_txt.EdFile} instance
docstring_summary: Change the document object used.
          @param doc: an L{ed_txt.EdFile} instance
docstring_tokens: Change the document object used . @param doc : an L { ed_txt . EdFile } instance
function: def SetDocument(self, doc):
          """Change the document object used.
          @param doc: an L{ed_txt.EdFile} instance
  
          """
          del self.file
          self.file = doc
function_tokens: def SetDocument ( self , doc ) : del self . file self . file = doc