From 69ea8169cbc562bda68a46ba00d44c87ffc5a15e Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 25 Jun 2023 08:54:07 +1000 Subject: Strip line end white-space. --- src/CellBuffer.cxx | 2 +- src/ChangeHistory.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); } - // 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(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) { -- cgit v1.2.3