diff options
author | Neil <nyamatongwe@gmail.com> | 2020-07-11 12:53:36 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2020-07-11 12:53:36 +1000 |
commit | 7a9cf4d4d8504433cf60fad36284be989a74c760 (patch) | |
tree | e2473d157f940973e3633669903730dbb32c75aa | |
parent | 1ae67dcdc8685a4c6c90ba99b54eb8d3b66a9b6d (diff) | |
download | scintilla-mirror-7a9cf4d4d8504433cf60fad36284be989a74c760.tar.gz |
Removed calls that had no effect as drawing in indent guides uses FillRectangle
with explicit arguments.
-rw-r--r-- | src/EditView.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/EditView.cxx b/src/EditView.cxx index 82e64ce16..38dc3af21 100644 --- a/src/EditView.cxx +++ b/src/EditView.cxx @@ -315,9 +315,7 @@ void EditView::RefreshPixMaps(Surface *surfaceWindow, WindowID wid, const ViewSt pixmapIndentGuideHighlight->InitPixMap(1, vsDraw.lineHeight + 1, surfaceWindow, wid); const PRectangle rcIG = PRectangle::FromInts(0, 0, 1, vsDraw.lineHeight); pixmapIndentGuide->FillRectangle(rcIG, vsDraw.styles[STYLE_INDENTGUIDE].back); - pixmapIndentGuide->PenColour(vsDraw.styles[STYLE_INDENTGUIDE].fore); pixmapIndentGuideHighlight->FillRectangle(rcIG, vsDraw.styles[STYLE_BRACELIGHT].back); - pixmapIndentGuideHighlight->PenColour(vsDraw.styles[STYLE_BRACELIGHT].fore); for (int stripe = 1; stripe < vsDraw.lineHeight + 1; stripe += 2) { const PRectangle rcPixel = PRectangle::FromInts(0, stripe, 1, stripe + 1); pixmapIndentGuide->FillRectangle(rcPixel, vsDraw.styles[STYLE_INDENTGUIDE].fore); |