diff options
author | Neil <nyamatongwe@gmail.com> | 2018-03-16 16:57:06 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-03-16 16:57:06 +1100 |
commit | 191d250adfd9d50846db5350641d279cad39c325 (patch) | |
tree | 745391be4a4c56cf6823da5ac840b912ef83557d /src | |
parent | 601277bddb0a4d871b8ab90e88b5d7dfde3ec2a3 (diff) | |
download | scintilla-mirror-191d250adfd9d50846db5350641d279cad39c325.tar.gz |
Remove line-end white space.
Diffstat (limited to 'src')
-rw-r--r-- | src/Decoration.cxx | 4 | ||||
-rw-r--r-- | src/Selection.cxx | 2 | ||||
-rw-r--r-- | src/SparseVector.h | 2 | ||||
-rw-r--r-- | src/SplitVector.h | 2 | ||||
-rw-r--r-- | src/ViewStyle.cxx | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/src/Decoration.cxx b/src/Decoration.cxx index 6f75058dd..5a653a589 100644 --- a/src/Decoration.cxx +++ b/src/Decoration.cxx @@ -59,11 +59,11 @@ Decoration *DecorationList::Create(int indicator, Sci::Position length) { decoNew->rs.InsertSpace(0, length); std::vector<std::unique_ptr<Decoration>>::iterator it = std::lower_bound( - decorationList.begin(), decorationList.end(), decoNew, + decorationList.begin(), decorationList.end(), decoNew, [](const std::unique_ptr<Decoration> &a, const std::unique_ptr<Decoration> &b) { return a->Indicator() < b->Indicator(); }); - std::vector<std::unique_ptr<Decoration>>::iterator itAdded = + std::vector<std::unique_ptr<Decoration>>::iterator itAdded = decorationList.insert(it, std::move(decoNew)); SetView(); diff --git a/src/Selection.cxx b/src/Selection.cxx index a45adcf51..f6e4bdad0 100644 --- a/src/Selection.cxx +++ b/src/Selection.cxx @@ -296,7 +296,7 @@ void Selection::MovePositions(bool insertion, Sci::Position startChange, Sci::Po } if (selType == selRectangle) { rangeRectangular.MoveForInsertDelete(insertion, startChange, length); - } + } } void Selection::TrimSelection(SelectionRange range) { diff --git a/src/SparseVector.h b/src/SparseVector.h index 4e28996fc..867409895 100644 --- a/src/SparseVector.h +++ b/src/SparseVector.h @@ -126,7 +126,7 @@ public: ClearValue(partition); starts->RemovePartition(partition); values->Delete(partition); - // Its the previous partition now that gets smaller + // Its the previous partition now that gets smaller partition--; } } diff --git a/src/SplitVector.h b/src/SplitVector.h index 8c533d357..16dec6e98 100644 --- a/src/SplitVector.h +++ b/src/SplitVector.h @@ -78,7 +78,7 @@ public: ptrdiff_t GetGrowSize() const { return growSize; } - + void SetGrowSize(ptrdiff_t growSize_) { growSize = growSize_; } diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx index 9635ed6e7..74e70bedc 100644 --- a/src/ViewStyle.cxx +++ b/src/ViewStyle.cxx @@ -317,7 +317,7 @@ void ViewStyle::Refresh(Surface &surface, int tabInChars) { for (Style &style : styles) { style.extraFontFlag = extraFontFlag; } - + // Create a FontRealised object for each unique font in the styles. CreateAndAddFont(styles[STYLE_DEFAULT]); for (const Style &style : styles) { |