1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Deprecating StackStringFormat

This commit is contained in:
Brian Fiete 2024-12-31 14:15:12 -08:00
parent 1484a5f53c
commit 6e1eaf63e8
15 changed files with 61 additions and 58 deletions

View file

@ -3809,7 +3809,7 @@ namespace IDE.ui
var text = scope String();
if (gApp.LoadTextFile(mFilePath, text) case .Err)
{
gApp.Fail(StackStringFormat!("Failed to open file '{0}'", mFilePath));
gApp.Fail(scope String()..AppendF("Failed to open file '{0}'", mFilePath));
return;
}
@ -5179,7 +5179,7 @@ namespace IDE.ui
public void GotoLine()
{
GoToLineDialog aDialog = new GoToLineDialog("Go To Line", StackStringFormat!("Line Number ({0}-{1})", 1, mEditWidget.Content.GetLineCount()));
GoToLineDialog aDialog = new GoToLineDialog("Go To Line", scope String()..AppendF("Line Number ({0}-{1})", 1, mEditWidget.Content.GetLineCount()));
aDialog.Init(this);
aDialog.PopupWindow(mWidgetWindow);
}