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
@@ -217,7 +217,8 @@ void QtCodeFileSingle::scrollTo(
if (focusTarget && locationId)
{
m_navigator->setFocusedLocationId(m_area, lineNumber, 0, locationId, {}, false);
m_navigator->setFocusedLocationId(m_area, lineNumber, m_area->getColumnNumberForLocationId(locationId),
locationId, {}, false, false);
}
}