diff options
author | Neil <nyamatongwe@gmail.com> | 2022-09-25 11:40:13 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2022-09-25 11:40:13 +1000 |
commit | a68a99a856e6818e4269b03c3fd97d84bf98d165 (patch) | |
tree | 2e791db5098de807ad2c1fd9886d4eec7b93e6d7 /src/EditView.cxx | |
parent | ed7e87bfd2dfb8cbbab786b3742385de9d1e6a2a (diff) | |
download | scintilla-mirror-a68a99a856e6818e4269b03c3fd97d84bf98d165.tar.gz |
Enlarge point and point top indicators and scale to be larger with larger text.
Diffstat (limited to 'src/EditView.cxx')
-rw-r--r-- | src/EditView.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/EditView.cxx b/src/EditView.cxx index 2290cf8a6..86e59b4dc 100644 --- a/src/EditView.cxx +++ b/src/EditView.cxx @@ -1244,7 +1244,8 @@ static void DrawIndicator(int indicNum, Sci::Position startPos, Sci::Position en const XYPOSITION left = ll->XInLine(startPos) + horizontalOffset; const XYPOSITION right = ll->XInLine(endPos) + horizontalOffset; - const PRectangle rcIndic(left, rcLine.top + vsDraw.maxAscent, right, rcLine.top + vsDraw.maxAscent + 3); + const PRectangle rcIndic(left, rcLine.top + vsDraw.maxAscent, right, + std::max(rcLine.top + vsDraw.maxAscent + 3, rcLine.bottom)); if (bidiEnabled) { ScreenLine screenLine(ll, subLine, vsDraw, rcLine.right - xStart, tabWidthMinimumPixels); |