mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-23 10:08:00 +02:00
Improved cross-project emit markers
This commit is contained in:
parent
eb59434e67
commit
1360afbea1
6 changed files with 50 additions and 26 deletions
|
@ -45,6 +45,13 @@ namespace IDE
|
|||
if (lc != rc)
|
||||
return false;
|
||||
|
||||
if (lc == ':')
|
||||
{
|
||||
// If one has a subproject specified then ignore that
|
||||
li = lhs.LastIndexOf(':');
|
||||
ri = rhs.LastIndexOf(':');
|
||||
}
|
||||
|
||||
if (lc == '<')
|
||||
{
|
||||
SkipGeneric(lhs, ref li);
|
||||
|
|
|
@ -302,7 +302,7 @@ namespace IDE.ui
|
|||
|
||||
DeleteAndNullify!(mGenericTypeFilter);
|
||||
mIgnoreChange = true;
|
||||
int colonPos = typeName.IndexOf(':');
|
||||
int colonPos = typeName.LastIndexOf(':');
|
||||
if (colonPos != -1)
|
||||
mGenericTypeCombo.Label = typeName.Substring(colonPos + 1);
|
||||
else
|
||||
|
@ -321,7 +321,7 @@ namespace IDE.ui
|
|||
EntryLoop: for (var entry in mGenericTypeData)
|
||||
{
|
||||
StringView useName = entry.mTypeName;
|
||||
int colonPos = useName.IndexOf(':');
|
||||
int colonPos = useName.LastIndexOf(':');
|
||||
if (colonPos != -1)
|
||||
useName.RemoveFromStart(colonPos + 1);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue