aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authormitchell <unknown>2018-05-06 09:24:26 -0400
committermitchell <unknown>2018-05-06 09:24:26 -0400
commit15789ad27ff66c8928d7dc90683af11d6c045009 (patch)
tree05c2aca85b30a7805bc80042ba96b36d0a184b40 /src/Editor.h
parentc896b7994fd83b5a4280801fe08803172ebea6a5 (diff)
downloadscintilla-mirror-15789ad27ff66c8928d7dc90683af11d6c045009.tar.gz
Backport: More const and cast avoidance.
Backport of changeset 6722:9a20edc44615.
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 7e763d7db..defb5aea7 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -375,7 +375,7 @@ protected: // ScintillaBase subclass needs access to much of Editor
void LinesJoin();
void LinesSplit(int pixelWidth);
- void PaintSelMargin(Surface *surfaceWindow, PRectangle &rc);
+ void PaintSelMargin(Surface *surfaceWindow, const PRectangle &rc);
void RefreshPixMaps(Surface *surfaceWindow);
void Paint(Surface *surfaceWindow, PRectangle rcArea);
Sci::Position FormatRange(bool draw, const Sci_RangeToFormat *pfr);