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

IDE ui issues

Fixed an autocomplete issue with path edits
Made renaming symbols aware of file/project locking
Fixed saving of Settings after running test
Fixed async autocomplete update when not terminated with ')'
This commit is contained in:
Brian Fiete 2019-09-07 06:40:03 -07:00
parent faa1dbd45e
commit ff610742c5
7 changed files with 141 additions and 96 deletions

View file

@ -1258,11 +1258,6 @@ namespace IDE.ui
else if (char8Data.mChar == ')')
{
openDepth--;
if (openDepth == 0)
{
mInvokeSrcPositions.Add(checkIdx);
break;
}
}
else if ((char8Data.mChar == ',') && (openDepth == 1))
{
@ -1271,6 +1266,12 @@ namespace IDE.ui
}
else if (!((char8)char8Data.mChar).IsWhiteSpace)
HadContent();
if (openDepth == 0)
{
mInvokeSrcPositions.Add(checkIdx);
break;
}
}
else if (char8Data.mDisplayPassId != (.)SourceElementType.Comment)
{
@ -1487,11 +1488,6 @@ namespace IDE.ui
//if (selectString == null)
if (changedAfterInfo)
{
if (curString == "Hey")
{
NOP!();
}
mAutoCompleteListWidget.mSelectIdx = -1;
if ((curString.Length == 0) && (!mIsMember) && (mInvokeSrcPositions == null))
@ -1923,6 +1919,7 @@ namespace IDE.ui
infoSections[i].ToString(str);
mInvokeSrcPositions.Add(int32.Parse(str));
}
Debug.WriteLine("Invoke size: {}", mInvokeSrcPositions.Count);
}
case "invokeLeftParen":
{