diff --git a/CSharp/Environments/GTK/Engines/UniversalEditor.Environments.GTK/MainWindow.cs b/CSharp/Environments/GTK/Engines/UniversalEditor.Environments.GTK/MainWindow.cs index d4bbb44a..e995e81b 100644 --- a/CSharp/Environments/GTK/Engines/UniversalEditor.Environments.GTK/MainWindow.cs +++ b/CSharp/Environments/GTK/Engines/UniversalEditor.Environments.GTK/MainWindow.cs @@ -15,6 +15,11 @@ namespace UniversalEditor.Engines.GTK InitializeMenuBar(); } + public IEditorImplementation GetCurrentEditor() + { + return null; + } + protected override bool OnFocused (DirectionType direction) { Engine.CurrentEngine.LastWindow = this; diff --git a/CSharp/Libraries/UniversalEditor.UserInterface/IHostApplicationWindow.cs b/CSharp/Libraries/UniversalEditor.UserInterface/IHostApplicationWindow.cs index 5725052a..941ca0d2 100644 --- a/CSharp/Libraries/UniversalEditor.UserInterface/IHostApplicationWindow.cs +++ b/CSharp/Libraries/UniversalEditor.UserInterface/IHostApplicationWindow.cs @@ -29,6 +29,8 @@ namespace UniversalEditor.UserInterface void CloseFile(); void CloseWindow(); + + IEditorImplementation GetCurrentEditor(); bool FullScreen { get; set; }