aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-04-24 16:41:42 +1000
committerNeil <nyamatongwe@gmail.com>2018-04-24 16:41:42 +1000
commitf965f5ecb21353b1a6be784c20cd36ffffc416c0 (patch)
tree3bdf61baf61b36f236d96bd09dddece39b1ca9e5 /src/Editor.h
parente4f5fb2eda66d4d8dfc39c3d5b9ddabcb36ce122 (diff)
downloadscintilla-mirror-f965f5ecb21353b1a6be784c20cd36ffffc416c0.tar.gz
Feature [feature-requests:#1215]. Make a parameter const.
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 defb5aea7..e9dbb27b4 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -558,7 +558,7 @@ protected: // ScintillaBase subclass needs access to much of Editor
int CodePage() const;
virtual bool ValidCodePage(int /* codePage */) const { return true; }
Sci::Line WrapCount(Sci::Line line);
- void AddStyledText(char *buffer, Sci::Position appendLength);
+ void AddStyledText(const char *buffer, Sci::Position appendLength);
virtual sptr_t DefWndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) = 0;
bool ValidMargin(uptr_t wParam) const;