aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Decoration.cxx4
-rw-r--r--src/Selection.cxx2
-rw-r--r--src/SparseVector.h2
-rw-r--r--src/SplitVector.h2
-rw-r--r--src/ViewStyle.cxx2
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) {