logic: preselecting SearchNodes for autocompletion by prefiltering the Graph with the entered Query
This change only shows matches in the autocompletion list that are prefiltered by the already entered query. The autocompletion now also shows up after an operator of type . or > has been entered to show an alphabetical list of possible tokens.
This commit is contained in:
@@ -40,6 +40,10 @@ std::string TokenComponentNameReferenced::getFullName() const
|
||||
return m_searchNode->getFullName();
|
||||
}
|
||||
|
||||
const SearchIndex::SearchNode* TokenComponentNameReferenced::getSearchNode() const
|
||||
{
|
||||
return m_searchNode;
|
||||
}
|
||||
|
||||
TokenComponentNameCached::TokenComponentNameCached(const std::string& fullName)
|
||||
: m_fullName(fullName)
|
||||
@@ -64,3 +68,8 @@ std::string TokenComponentNameCached::getFullName() const
|
||||
{
|
||||
return m_fullName;
|
||||
}
|
||||
|
||||
const SearchIndex::SearchNode* TokenComponentNameCached::getSearchNode() const
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user