diff -r 3ff43dee81b2 src/EditView.cxx --- a/src/EditView.cxx Mon Aug 29 14:38:59 2022 +1000 +++ b/src/EditView.cxx Mon Aug 29 21:24:33 2022 +1000 @@ -1244,7 +1244,8 @@ 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);