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 | 4fee1c0972ef24589e6d872b5cf4ad91f192d8d8 (patch) | |
| tree | ffb9d01c1acc804826fe715defb5b215bfb0b078 /src/Document.cxx | |
| parent | c47a76507f5bfd812604504d3b0246fa45be799e (diff) | |
| download | scintilla-mirror-4fee1c0972ef24589e6d872b5cf4ad91f192d8d8.tar.gz | |
Backport: Add some const, constexpr.
Backport of changeset 8407:dfaa642a6c22.
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 a9daf9339..eb8d764a3 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -2402,7 +2402,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); } |
