aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/EditView.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2014-07-24 12:50:30 +1000
committerNeil <nyamatongwe@gmail.com>2014-07-24 12:50:30 +1000
commit8d53838c4e5fafd24154b33e2d24126e55853ab9 (patch)
treefd8ffb0174df13cee89f3ca3d37285314be86c8d /src/EditView.cxx
parent2042a1d9fc11668f154d69eb8167fcaf299e8a85 (diff)
downloadscintilla-mirror-8d53838c4e5fafd24154b33e2d24126e55853ab9.tar.gz
Mark const methods const.
Diffstat (limited to 'src/EditView.cxx')
-rw-r--r--src/EditView.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/EditView.cxx b/src/EditView.cxx
index af8372a51..58d8a1415 100644
--- a/src/EditView.cxx
+++ b/src/EditView.cxx
@@ -1169,7 +1169,7 @@ static void DrawWrapIndentAndMarker(Surface *surface, const ViewStyle &vsDraw, c
void EditView::DrawBackground(Surface *surface, const EditModel &model, const ViewStyle &vsDraw, const LineLayout *ll,
PRectangle rcLine, Range lineRange, int posLineStart, int xStart,
- int subLine, ColourOptional background) {
+ int subLine, ColourOptional background) const {
const bool selBackDrawn = vsDraw.SelectionBackgroundDrawn();
bool inIndentation = subLine == 0; // Do not handle indentation except on first subline.