aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2014-06-23 17:05:06 +1000
committerNeil <nyamatongwe@gmail.com>2014-06-23 17:05:06 +1000
commit99fe65d3efef3442a0766e2b21fd3726a1169c50 (patch)
tree08fe921c8842438b3ba001948bfd9ec076267950 /src/Editor.cxx
parent4bbf7d16f03b48ddd4d2184bc21cb98889b64899 (diff)
downloadscintilla-mirror-99fe65d3efef3442a0766e2b21fd3726a1169c50.tar.gz
Mark DrawBlockCaret as const since it only draws and does not affect Editor.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index cba4e091b..98440fe0f 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -3254,7 +3254,7 @@ void Editor::DrawLine(Surface *surface, const ViewStyle &vsDraw, int line, int l
}
void Editor::DrawBlockCaret(Surface *surface, const ViewStyle &vsDraw, LineLayout *ll, int subLine,
- int xStart, int offset, int posCaret, PRectangle rcCaret, ColourDesired caretColour) {
+ int xStart, int offset, int posCaret, PRectangle rcCaret, ColourDesired caretColour) const {
int lineStart = ll->LineStart(subLine);
int posBefore = posCaret;