diff options
author | Neil <nyamatongwe@gmail.com> | 2016-10-26 08:26:35 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2016-10-26 08:26:35 +1100 |
commit | acb772397633f7c46d31b12f96321a2a2f26d80b (patch) | |
tree | 5756a6a358d52b4c41c1fa5b7fcae4b3ca7e488b /src/Editor.cxx | |
parent | c93fe8542525c72733005f34277984e5ef9168da (diff) | |
download | scintilla-mirror-acb772397633f7c46d31b12f96321a2a2f26d80b.tar.gz |
Marked method const as it can be.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 15848f056..f721c4361 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -5573,7 +5573,7 @@ void Editor::AddStyledText(char *buffer, int appendLength) { SetEmptySelection(sel.MainCaret() + lengthInserted); } -bool Editor::ValidMargin(uptr_t wParam) { +bool Editor::ValidMargin(uptr_t wParam) const { return wParam < vs.ms.size(); } |