diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/EditView.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/EditView.cxx b/src/EditView.cxx index b2895d97c..2608f11e5 100644 --- a/src/EditView.cxx +++ b/src/EditView.cxx @@ -922,6 +922,9 @@ void DrawTextBlob(Surface *surface, const ViewStyle &vsDraw, PRectangle rcSegmen void FillLineRemainder(Surface *surface, const EditModel &model, const ViewStyle &vsDraw, const LineLayout *ll, Sci::Line line, PRectangle rcLine, XYPOSITION left, int subLine) { + if (rcLine.Empty()) { + return; + } InSelection eolInSelection = InSelection::inNone; if (vsDraw.selection.visible && (subLine == (ll->lines - 1))) { eolInSelection = model.LineEndInSelection(line); |
