Fix a bug where the document map highlights incorrectly when the view is scrolled past the end of the file.
Fix #4579, close #4580
This commit is contained in:
parent
32c1427c12
commit
0c55b381da
@ -248,7 +248,7 @@ void DocumentMap::scrollMap()
|
||||
if (lowerY == 0)
|
||||
{
|
||||
auto lineHeight = _pMapView->execute(SCI_TEXTHEIGHT, firstVisibleDocLine);
|
||||
lowerY = nbLine * lineHeight + firstVisibleDocLine;
|
||||
lowerY = nbLine * lineHeight + higherY;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user