ui: Iterate code references within the same line when holding Shift (#936)

This commit is contained in:
Eberhard Gräther
2020-03-05 15:41:17 +01:00
committed by GitHub
parent e8f258ba1d
commit 38925292b7
11 changed files with 93 additions and 60 deletions
@@ -299,7 +299,8 @@ void QtCodeFileList::scrollTo(
if (focusTarget)
{
m_navigator->setFocusedLocationId(snippet->getArea(), lineNumber, 0, locationId, {}, false);
m_navigator->setFocusedLocationId(snippet->getArea(), lineNumber,
snippet->getArea()->getColumnNumberForLocationId(locationId), locationId, {}, false, false);
}
}