this cruft has been superseded by the RefreshEditor() function in Pages/EditorPage.cs
This commit is contained in:
parent
d9b54cd2de
commit
08c94f050c
@ -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
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user