From 08c94f050c722e3617a46413f9d6a38950bb4add Mon Sep 17 00:00:00 2001 From: Michael Becker Date: Wed, 20 May 2020 13:45:49 -0400 Subject: [PATCH] this cruft has been superseded by the RefreshEditor() function in Pages/EditorPage.cs --- Libraries/UniversalEditor.UserInterface/MainWindow.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Libraries/UniversalEditor.UserInterface/MainWindow.cs b/Libraries/UniversalEditor.UserInterface/MainWindow.cs index 43d58f59..58faf83a 100644 --- a/Libraries/UniversalEditor.UserInterface/MainWindow.cs +++ b/Libraries/UniversalEditor.UserInterface/MainWindow.cs @@ -570,16 +570,10 @@ namespace UniversalEditor.UserInterface #endif } - Editor editor = editors[0].Create(); - EditorPage page = new EditorPage(); page.Document = doc; page.DocumentEdited += page_DocumentEdited; - // page.Controls.Add(editor, new BoxLayout.Constraints(true, true)); - InitDocTab(doc.Accessor.GetFileName(), doc.Title, page); - - editor.ObjectModel = doc.ObjectModel; } else {