Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin/framework/editor
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv30801/pywin/framework/editor
Modified Files:
document.py
Log Message:
Merge EOL-detection and start of decent encoding detection (BOM only for
now) from py3k-integration branch.
Index: document.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/framework/editor/document.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** document.py 2 Oct 2008 13:03:55 -0000 1.12
--- document.py 5 Jan 2009 11:09:20 -0000 1.13
***************
*** 36,41 ****
self.scModuleName=GetEditorOption("Source Control Module", "")
self.scModule = None # Loaded when first used.
! # Skip the direct parent
! object.CmdTarget.__init__(self, template.CreateWin32uiDocument())
def OnCloseDocument(self ):
--- 36,40 ----
self.scModuleName=GetEditorOption("Source Control Module", "")
self.scModule = None # Loaded when first used.
! ParentEditorDocument.__init__(self, template, template.CreateWin32uiDocument())
def OnCloseDocument(self ):
|