diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 2 | ||||
-rw-r--r-- | src/Editor.h | 2 |
2 files changed, 2 insertions, 2 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; 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); |