Exemple #1
0
 def __init__(self,
              res=win32ui.IDR_TEXTTYPE,
              makeDoc=None,
              makeFrame=None,
              makeView=None):
     if makeDoc is None: makeDoc = SyntEditDocument
     if makeView is None: makeView = SyntEditView
     if makeFrame is None: makeFrame = SplitterFrame
     self.bSetMenus = 0
     EditorTemplateBase.__init__(self, res, makeDoc, makeFrame, makeView)
Exemple #2
0
    def GetPythonPropertyPages(self):
        """Returns a list of property pages"""
        from pywin.scintilla import configui

        return EditorTemplateBase.GetPythonPropertyPages(self) + [
            configui.ScintillaFormatPropertyPage()
        ]
Exemple #3
0
	def __init__(self, res=win32ui.IDR_TEXTTYPE, makeDoc=None, makeFrame=None, makeView=None):
		if makeDoc is None: makeDoc = SyntEditDocument
		if makeView is None: makeView = SyntEditView
		if makeFrame is None: makeFrame = SplitterFrame
		self.bSetMenus = 0
		EditorTemplateBase.__init__(self, res, makeDoc, makeFrame, makeView)