From 99fe65d3efef3442a0766e2b21fd3726a1169c50 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.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Editor.h') 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); -- cgit v1.2.3