def FinalizeViewCreation(self, view): EditorDocumentBase.FinalizeViewCreation(self, view) if view==self.GetFirstView(): self.GetDocTemplate().CheckIDLEMenus(view.idle)
def HookViewNotifications(self, view): EditorDocumentBase.HookViewNotifications(self, view) view.SCISetUndoCollection(1)