mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Fixed Go To Definition for operator overloads
This commit is contained in:
parent
cb2479083a
commit
12ed915194
1 changed files with 3 additions and 0 deletions
|
@ -6716,6 +6716,9 @@ namespace IDE.ui
|
||||||
let c = ewc.mData.mText[checkPos].mChar;
|
let c = ewc.mData.mText[checkPos].mChar;
|
||||||
if ((c.IsLetterOrDigit) || (c == '_') || (c == '@'))
|
if ((c.IsLetterOrDigit) || (c == '_') || (c == '@'))
|
||||||
return true;
|
return true;
|
||||||
|
let elementType = (SourceElementType)ewc.mData.mText[checkPos].mDisplayTypeId;
|
||||||
|
if (elementType == .Method)
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue