diff options
author | John Ehresman <unknown> | 2023-01-14 10:14:19 +1100 |
---|---|---|
committer | John Ehresman <unknown> | 2023-01-14 10:14:19 +1100 |
commit | cda69aa65110372aef5f4f9e06dada6b773cd9a8 (patch) | |
tree | 3d2830fbe513b0db3d8b848da4c900e2c702deba /qt | |
parent | b7268373ff61c61f0e904de0aef7e9eab704005b (diff) | |
download | scintilla-mirror-cda69aa65110372aef5f4f9e06dada6b773cd9a8.tar.gz |
Bug [#2373]. Fix indicator drawing past left of text pane over margin.
Diffstat (limited to 'qt')
-rw-r--r-- | qt/ScintillaEditBase/PlatQt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt/ScintillaEditBase/PlatQt.cpp b/qt/ScintillaEditBase/PlatQt.cpp index 42675933c..3a4889ca6 100644 --- a/qt/ScintillaEditBase/PlatQt.cpp +++ b/qt/ScintillaEditBase/PlatQt.cpp @@ -545,7 +545,7 @@ void SurfaceImpl::DrawTextTransparent(PRectangle rc, void SurfaceImpl::SetClip(PRectangle rc) { GetPainter()->save(); - GetPainter()->setClipRect(QRectFFromPRect(rc)); + GetPainter()->setClipRect(QRectFFromPRect(rc), Qt::IntersectClip); } void SurfaceImpl::PopClip() |