From a5df3fcc3ec06c575610317508f726fe16ba5831 Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 23 Jun 2014 17:05:06 +1000 Subject: Mark DrawBlockCaret as const since it only draws and does not affect Editor. --- src/Editor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Editor.cxx') 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; -- cgit v1.2.3