logic: extended CodeView to show locations of edges to the active Token and merge overlapping snippets

This commit is contained in:
Eberhard Graether
2014-07-26 23:07:47 +02:00
parent eeacb92b55
commit 16d49e58cc
18 changed files with 173 additions and 42 deletions
+2 -2
View File
@@ -29,11 +29,11 @@ void LocationAccessProxy::setSubject(LocationAccess* subject)
m_subject = subject;
}
TokenLocationCollection LocationAccessProxy::getTokenLocationsForTokenId(Id id) const
TokenLocationCollection LocationAccessProxy::getTokenLocationsForLocationIds(const std::vector<Id>& locationIds) const
{
if (hasSubject())
{
return m_subject->getTokenLocationsForTokenId(id);
return m_subject->getTokenLocationsForLocationIds(locationIds);
}
return TokenLocationCollection();