diff options
author | Neil <nyamatongwe@gmail.com> | 2023-06-25 08:54:07 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2023-06-25 08:54:07 +1000 |
commit | 69ea8169cbc562bda68a46ba00d44c87ffc5a15e (patch) | |
tree | 49392ba329ef190536085ded49358ebe7b0c4626 /src | |
parent | 816095e1fabb5d67218b1ef24b28476bbf4a4235 (diff) | |
download | scintilla-mirror-69ea8169cbc562bda68a46ba00d44c87ffc5a15e.tar.gz |
Strip line end white-space.
Diffstat (limited to 'src')
-rw-r--r-- | src/CellBuffer.cxx | 2 | ||||
-rw-r--r-- | src/ChangeHistory.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index 14b2e3212..ba11f1391 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -170,7 +170,7 @@ class LineVector : public ILineVector { return static_cast<POS>(pos); } - // line_from_pos_cast(): return 32-bit or 64-bit value as Sci::Line + // line_from_pos_cast(): return 32-bit or 64-bit value as Sci::Line // This avoids warnings from Visual C++ Code Analysis and shortens code static constexpr Sci::Line line_from_pos_cast(POS line) noexcept { return static_cast<Sci::Line>(line); diff --git a/src/ChangeHistory.cxx b/src/ChangeHistory.cxx index 09eb51b73..7295f89af 100644 --- a/src/ChangeHistory.cxx +++ b/src/ChangeHistory.cxx @@ -209,7 +209,7 @@ void ChangeLog::SetSavePoint() { } startRun = endRun; } - + for (Sci::Position positionDeletion = 0; positionDeletion <= length;) { const EditionSetOwned &editions = deleteEdition.ValueAt(positionDeletion); if (editions) { |