mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-28 04:28:01 +02:00
Added Sync with Workspace Panel option
This commit is contained in:
parent
c3238272d0
commit
3f68473fe1
6 changed files with 54 additions and 0 deletions
|
@ -117,6 +117,10 @@ namespace Beefy.widgets
|
|||
return (KeyCode)c;
|
||||
if ((c >= 'a') && (c <= 'a'))
|
||||
return (KeyCode)(c.ToUpper);
|
||||
if (c == '[')
|
||||
return (KeyCode)LBracket;
|
||||
if (c == ']')
|
||||
return (KeyCode)RBracket;
|
||||
}
|
||||
|
||||
if (str.StartsWith("0x"))
|
||||
|
@ -137,6 +141,21 @@ namespace Beefy.widgets
|
|||
return;
|
||||
}
|
||||
|
||||
char8 c = 0;
|
||||
switch (this)
|
||||
{
|
||||
case LBracket:
|
||||
c = '[';
|
||||
case RBracket:
|
||||
c = ']';
|
||||
default:
|
||||
}
|
||||
if (c != 0)
|
||||
{
|
||||
strBuffer.Append(c);
|
||||
return;
|
||||
}
|
||||
|
||||
int buffStart = strBuffer.Length;
|
||||
base.ToString(strBuffer);
|
||||
if ((strBuffer.Length > buffStart) && (strBuffer[buffStart].IsDigit))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue