aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/EditView.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2020-07-11 12:53:36 +1000
committerNeil <nyamatongwe@gmail.com>2020-07-11 12:53:36 +1000
commit59025ad2ed52891f6f32bd50aafd0fe241bf7bba (patch)
tree6a16216e1620bf12cf6aebc73381d7b171e4b59e /src/EditView.cxx
parentc86c0527d24999abacb952f7d5cb0a6b4acd0915 (diff)
downloadscintilla-mirror-59025ad2ed52891f6f32bd50aafd0fe241bf7bba.tar.gz
Backport: Removed calls that had no effect as drawing in indent guides uses FillRectangle
with explicit arguments. Backport of changeset 8398:daf13e4c0042.
Diffstat (limited to 'src/EditView.cxx')
-rw-r--r--src/EditView.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/EditView.cxx b/src/EditView.cxx
index 49e77d8db..b7a8238da 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);