diff --git a/IDE/src/IDEApp.bf b/IDE/src/IDEApp.bf index 84bfa0f4..b18bc180 100644 --- a/IDE/src/IDEApp.bf +++ b/IDE/src/IDEApp.bf @@ -2281,6 +2281,11 @@ namespace IDE mMainFrame.RehupSize(); ShowStartupFile(); + +#if !CLI + if (mMainWindow != null) + mFileRecovery.CheckWorkspace(); +#endif } void CloseWorkspaceAndSetupNew() @@ -2602,9 +2607,6 @@ namespace IDE #if !CLI if (mBfResolveCompiler != null) mBfResolveCompiler.QueueSetWorkspaceOptions(null, 0); - - if (mMainWindow != null) - mFileRecovery.CheckWorkspace(); #endif String relaunchCmd = scope .(); diff --git a/IDE/src/ui/SourceViewPanel.bf b/IDE/src/ui/SourceViewPanel.bf index 69758307..e694e9e9 100644 --- a/IDE/src/ui/SourceViewPanel.bf +++ b/IDE/src/ui/SourceViewPanel.bf @@ -6466,6 +6466,10 @@ namespace IDE.ui mNavigationBar.mVisible = false; } + // Always leave enough to read the first 3 lines + if (mHeight < GS!(88)) + mHeight = GS!(88); + float splitterHeight = GS!(3); float splitTopHeight = 0;