1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-27 03:58:01 +02:00

Auto ctor fixes

This commit is contained in:
Brian Fiete 2022-04-16 16:43:21 -07:00
parent 87f3aa0335
commit 44ecb92315
12 changed files with 221 additions and 127 deletions

View file

@ -493,7 +493,7 @@ namespace IDE.ui
for (var parserDataStr in mModifiedParsers.Split('\n'))
{
if (parserDataStr == "")
return;
break;
var parserData = parserDataStr.Split('\t');
//var projectSource = IDEApp.sApp.FindProjectSourceItem(parserData[0]);
var filePath = parserData.GetNext().Get();
@ -549,6 +549,13 @@ namespace IDE.ui
mUpdatingProjectSources.Add(replaceSymbolData);
}
if ((mKind == .Rename) && (mUpdatingProjectSources.IsEmpty))
{
gApp.Fail("Cannot rename element");
Close();
return;
}
if (mKind == Kind.FindAllReferences)
{
PrintAllReferences();

View file

@ -4474,7 +4474,16 @@ namespace IDE.ui
if (wantCursorPos != -1)
{
mSelection = null;
if (mWidgetWindow.IsKeyDown(.Shift))
{
if (mSelection == null)
mSelection = .(CursorTextPos, wantCursorPos);
else
mSelection.ValueRef.mEndPos = (.)wantCursorPos;
}
else
mSelection = null;
CursorTextPos = wantCursorPos;
return;
}