diff options
author | Neil <nyamatongwe@gmail.com> | 2020-07-16 08:03:19 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2020-07-16 08:03:19 +1000 |
commit | 5a72039e1a39c200b50f134e4917d216ea68fb48 (patch) | |
tree | d298ff48cafd3e6742af9235c6a1401e925aeaf0 /src/Document.cxx | |
parent | 8aeb0e4b77a0f6905981df5f2d9c4622d55a12fb (diff) | |
download | scintilla-mirror-5a72039e1a39c200b50f134e4917d216ea68fb48.tar.gz |
Add some const, constexpr.
Diffstat (limited to 'src/Document.cxx')
-rw-r--r-- | src/Document.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Document.cxx b/src/Document.cxx index 95792fa1f..07ed604fd 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -2399,7 +2399,7 @@ StyledText Document::EOLAnnotationStyledText(Sci::Line line) const noexcept { void Document::EOLAnnotationSetText(Sci::Line line, const char *text) { if (line >= 0 && line < LinesTotal()) { EOLAnnotations()->SetText(line, text); - DocModification mh(SC_MOD_CHANGEEOLANNOTATION, LineStart(line), + const DocModification mh(SC_MOD_CHANGEEOLANNOTATION, LineStart(line), 0, 0, 0, line); NotifyModified(mh); } |