mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-17 07:44:09 +02:00
Another autocomplete fix for failed invoke list
This commit is contained in:
parent
0e14e994d5
commit
f7120e4c72
2 changed files with 3 additions and 3 deletions
|
@ -1582,7 +1582,7 @@ namespace IDE.ui
|
||||||
mInsertStartIdx--;
|
mInsertStartIdx--;
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
if ((mInvokeWidget != null) && (mInvokeWidget.mEntryList.Count > 0))
|
if ((mInvokeWidget != null) && (mInvokeSrcPositions != null) && (mInvokeWidget.mEntryList.Count > 0))
|
||||||
{
|
{
|
||||||
var data = mTargetEditWidget.Content.mData;
|
var data = mTargetEditWidget.Content.mData;
|
||||||
|
|
||||||
|
@ -2042,7 +2042,7 @@ namespace IDE.ui
|
||||||
if (mInvokeWidget != null)
|
if (mInvokeWidget != null)
|
||||||
{
|
{
|
||||||
prevInvokeSelect = mInvokeWidget.mSelectIdx;
|
prevInvokeSelect = mInvokeWidget.mSelectIdx;
|
||||||
if ((mInvokeWidget.mEntryList.Count > 0) && (!mInvokeSrcPositions.IsEmpty) && (mInvokeWidget.mSelectIdx >= 0))
|
if ((mInvokeWidget.mEntryList.Count > 0) && (mInvokeSrcPositions != null) && (!mInvokeSrcPositions.IsEmpty) && (mInvokeWidget.mSelectIdx >= 0))
|
||||||
{
|
{
|
||||||
if (IsInPanel())
|
if (IsInPanel())
|
||||||
{
|
{
|
||||||
|
|
|
@ -8346,7 +8346,7 @@ void BfCompiler::GenerateAutocompleteInfo()
|
||||||
auto methodMatchInfo = autoComplete->mMethodMatchInfo;
|
auto methodMatchInfo = autoComplete->mMethodMatchInfo;
|
||||||
if ((methodMatchInfo != NULL) && (wantsDocEntry == NULL))
|
if ((methodMatchInfo != NULL) && (wantsDocEntry == NULL))
|
||||||
{
|
{
|
||||||
if (methodMatchInfo->mInstanceList.size() > 0)
|
if ((methodMatchInfo->mInstanceList.size() > 0) && (methodMatchInfo->mBestIdx >= 0))
|
||||||
{
|
{
|
||||||
if (autoComplete->mIdentifierUsed != NULL)
|
if (autoComplete->mIdentifierUsed != NULL)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue