diff options
author | Neil <nyamatongwe@gmail.com> | 2018-04-20 12:52:30 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-04-20 12:52:30 +1000 |
commit | c896b7994fd83b5a4280801fe08803172ebea6a5 (patch) | |
tree | b093651520f7278af90082a7d482b77d9165945c /src/Editor.h | |
parent | 4d9c84bfea91a1e22bbc4b94dd3bbae77af0e2e2 (diff) | |
download | scintilla-mirror-c896b7994fd83b5a4280801fe08803172ebea6a5.tar.gz |
Backport: Mark pointer to constant parameter as const.
Backport of changeset 6721:33bf16396488.
Diffstat (limited to 'src/Editor.h')
-rw-r--r-- | src/Editor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.h b/src/Editor.h index 3f6f8f2c8..7e763d7db 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -378,7 +378,7 @@ protected: // ScintillaBase subclass needs access to much of Editor void PaintSelMargin(Surface *surfaceWindow, PRectangle &rc); void RefreshPixMaps(Surface *surfaceWindow); void Paint(Surface *surfaceWindow, PRectangle rcArea); - Sci::Position FormatRange(bool draw, Sci_RangeToFormat *pfr); + Sci::Position FormatRange(bool draw, const Sci_RangeToFormat *pfr); int TextWidth(int style, const char *text); virtual void SetVerticalScrollPos() = 0; |