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
commitd5e666a8e7f6297a9838793611086b048d04fd58 (patch)
tree34822c4bea96860b33e80e3f48c91a1579a1e97b /src/EditView.cxx
parenta38715eb76de60432e14d0a1aea2e9a181ef42b4 (diff)
downloadscintilla-mirror-d5e666a8e7f6297a9838793611086b048d04fd58.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.