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 | f81ae988af0acf5ffb503845f2354b18c411ddca (patch) | |
tree | a8903493efa2377b1c140019135b9c539b0d5066 /src/Editor.h | |
parent | 96574354e494ab49f27d137b18d7105436284eda (diff) | |
download | scintilla-mirror-f81ae988af0acf5ffb503845f2354b18c411ddca.tar.gz |
Mark pointer to constant parameter as const.
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; |