mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Improved errors on GoToDefinition
This commit is contained in:
parent
15c3ad98de
commit
a5e0f34549
4 changed files with 13 additions and 8 deletions
|
@ -2967,7 +2967,7 @@ namespace IDE.ui
|
|||
|
||||
if ((btn == 0) && (mWidgetWindow.IsKeyDown(.Control)) && (x == origX) && (y == origY))
|
||||
{
|
||||
gApp.GoToDefinition();
|
||||
gApp.GoToDefinition(false);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -3003,7 +3003,7 @@ namespace IDE.ui
|
|||
|
||||
menuItem = menu.AddItem("Go to Definition");
|
||||
menuItem.SetDisabled(!hasText);
|
||||
menuItem.mOnMenuItemSelected.Add(new (evt) => gApp.GoToDefinition());
|
||||
menuItem.mOnMenuItemSelected.Add(new (evt) => gApp.GoToDefinition(true));
|
||||
|
||||
menuItem = menu.AddItem("Rename Symbol");
|
||||
menuItem.SetDisabled(!hasText);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue