aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
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
commita5df3fcc3ec06c575610317508f726fe16ba5831 (patch)
tree11e0306dcee85ae9115257e9e94618043a6aa354 /src/Editor.h
parent7859dd2ac89ed078692cd370b3bdb43740298c5e (diff)
downloadscintilla-mirror-a5df3fcc3ec06c575610317508f726fe16ba5831.tar.gz
Mark DrawBlockCaret as const since it only draws and does not affect Editor.
Diffstat (limited to 'src/Editor.h')
-rw-r--r--src/Editor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.h b/src/Editor.h
index 6c7ae6c59..f26f1c447 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -453,7 +453,7 @@ protected: // ScintillaBase subclass needs access to much of Editor
void DrawLine(Surface *surface, const ViewStyle &vsDraw, int line, int lineVisible, int xStart,
PRectangle rcLine, LineLayout *ll, int subLine);
void 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;
void DrawCarets(Surface *surface, const ViewStyle &vsDraw, int line, int xStart,
PRectangle rcLine, LineLayout *ll, int subLine);
void RefreshPixMaps(Surface *surfaceWindow);