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:
parent
87f3aa0335
commit
44ecb92315
12 changed files with 221 additions and 127 deletions
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue