mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Remove StackStringFormat
This commit is contained in:
parent
c511773dad
commit
50a1d5dab2
1 changed files with 3 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
using System;
|
||||||
using Beefy.widgets;
|
using Beefy.widgets;
|
||||||
using Beefy.gfx;
|
using Beefy.gfx;
|
||||||
|
|
||||||
|
@ -16,8 +17,8 @@ namespace LogViewer
|
||||||
g.FillRect(0, 0, mWidth, mHeight);
|
g.FillRect(0, 0, mWidth, mHeight);
|
||||||
|
|
||||||
var lineAndColumn = gApp.mBoard.mDocEdit.mEditWidgetContent.CursorLineAndColumn;
|
var lineAndColumn = gApp.mBoard.mDocEdit.mEditWidgetContent.CursorLineAndColumn;
|
||||||
g.DrawString(StackStringFormat!("Ln {0}", lineAndColumn.mLine + 1), mWidth - 160, 2);
|
g.DrawString(scope String()..AppendF("Ln {0}", lineAndColumn.mLine + 1), mWidth - 160, 2);
|
||||||
g.DrawString(StackStringFormat!("Col {0}", lineAndColumn.mColumn + 1), mWidth - 80, 2);
|
g.DrawString(using System;("Col {0}", lineAndColumn.mColumn + 1), mWidth - 80, 2);
|
||||||
|
|
||||||
if ((gApp.mBoard.mFilterDirtyCountdown != 0) || (gApp.mBoard.mRefreshing))
|
if ((gApp.mBoard.mFilterDirtyCountdown != 0) || (gApp.mBoard.mRefreshing))
|
||||||
g.DrawString("Refreshing", 8, 2);
|
g.DrawString("Refreshing", 8, 2);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue