parameters: (self)
docstring: Reloads the document from disk.  Assumes the file has
  		been saved and user has been asked if necessary - it just does it!
docstring_summary: Reloads the document from disk.  Assumes the file has
  		been saved and user has been asked if necessary - it just does it!
docstring_tokens: Reloads the document from disk . Assumes the file has been saved and user has been asked if necessary - it just does it!
function: def ReloadDocument(self):
  		"""Reloads the document from disk.  Assumes the file has
  		been saved and user has been asked if necessary - it just does it!
  		"""
  		win32ui.SetStatusText("Reloading document.  Please wait...", 1)
  		self.SetModifiedFlag(0)
  		# Loop over all views, saving their state, then reload the document
  		views = self.GetAllViews()
  		states = []
  		for view in views:
  			try:
  				info = view._PrepareUserStateChange()
  			except AttributeError: # Not our editor view?
  				info = None
  			states.append(info)
  		self.OnOpenDocument(self.GetPathName())
  		for view, info in zip(views, states):
  			if info is not None:
  				view._EndUserStateChange(info)
  		self._DocumentStateChanged()
  		win32ui.SetStatusText("Document reloaded.")
function_tokens: def ReloadDocument ( self ) : win32ui . SetStatusText ( "Reloading document.  Please wait..." , 1 ) self . SetModifiedFlag ( 0 ) # Loop over all views, saving their state, then reload the document views = self . GetAllViews ( ) states = [ ] for view in views : try : info = view . _PrepareUserStateChange ( ) except AttributeError : # Not our editor view? info = None states . append ( info ) self . OnOpenDocument ( self . GetPathName ( ) ) for view , info in zip ( views , states ) : if info is not None : view . _EndUserStateChange ( info ) self . _DocumentStateChanged ( ) win32ui . SetStatusText ( "Document reloaded." )