diff options
author | nyamatongwe <unknown> | 2011-03-17 09:39:00 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-03-17 09:39:00 +1100 |
commit | 8db89dd2ceb121449e17ed9831f3343b119dd588 (patch) | |
tree | b79c35d6dabcc2445e395f69b15aa0aef2b546ee | |
parent | 2404aae41e118ce219c123a92a30790e9fd66634 (diff) | |
download | scintilla-mirror-8db89dd2ceb121449e17ed9831f3343b119dd588.tar.gz |
Avoid drawing alpha rectangles that extend well before the left of the
window as that causes allocation of large buffers on some platforms.
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index f792d160f..bc5e80cc9 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -3044,7 +3044,7 @@ void Editor::DrawLine(Surface *surface, ViewStyle &vsDraw, int line, int lineVis } // Draw any translucent whole line states - rcSegment.left = xStart; + rcSegment.left = 0; rcSegment.right = rcLine.right - 1; if (caret.active && vsDraw.showCaretLineBackground && ll->containsCaret) { SimpleAlphaRectangle(surface, rcSegment, vsDraw.caretLineBackground.allocated, vsDraw.caretLineAlpha); |