aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/EditView.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2022-09-25 11:40:13 +1000
committerNeil <nyamatongwe@gmail.com>2022-09-25 11:40:13 +1000
commita68a99a856e6818e4269b03c3fd97d84bf98d165 (patch)
tree2e791db5098de807ad2c1fd9886d4eec7b93e6d7 /src/EditView.cxx
parented7e87bfd2dfb8cbbab786b3742385de9d1e6a2a (diff)
downloadscintilla-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.cxx3
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);