open file from problem

This commit is contained in:
Matt Parker
2025-09-13 15:35:52 +10:00
parent 3fb602d8fc
commit b4291cb7f7
6 changed files with 51 additions and 7 deletions

View File

@@ -1,4 +1,5 @@
using SharpIDE.Application.Features.Events;
using SharpIDE.Application.Features.SolutionDiscovery;
namespace SharpIDE.Godot;
@@ -12,6 +13,9 @@ public static class GodotGlobalEvents
public static event Func<bool, Task> BottomPanelVisibilityChangeRequested = _ => Task.CompletedTask;
public static void InvokeBottomPanelVisibilityChangeRequested(bool show) => BottomPanelVisibilityChangeRequested.InvokeParallelFireAndForget(show);
public static event Func<SharpIdeFile, Task> FileSelected = _ => Task.CompletedTask;
public static void InvokeFileSelected(SharpIdeFile file) => FileSelected.InvokeParallelFireAndForget(file);
}
public enum BottomPanelType