aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/MarginView.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-05-11 07:25:22 +1000
committerNeil <nyamatongwe@gmail.com>2019-05-11 07:25:22 +1000
commitd50a8576e70ab84af42fb0bbac56c2d74ddc1898 (patch)
tree85fc655f55e995b339aa351468d7594a0a79e5a4 /src/MarginView.cxx
parenta42f10de51676ccc8e8a9ce48546d633ff5a256e (diff)
downloadscintilla-mirror-d50a8576e70ab84af42fb0bbac56c2d74ddc1898.tar.gz
Backport: Feature [feature-requests:#1283]. Standardise spelling - "color" -> "colour".
Backport of changeset 7498:7dd63f4402ae.
Diffstat (limited to 'src/MarginView.cxx')
-rw-r--r--src/MarginView.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MarginView.cxx b/src/MarginView.cxx
index a2fea70a7..e6f73c52a 100644
--- a/src/MarginView.cxx
+++ b/src/MarginView.cxx
@@ -419,7 +419,7 @@ void MarginView::PaintMargin(Surface *surface, Sci::Line topLine, PRectangle rc,
DrawStyledText(surface, vs, vs.marginStyleOffset, rcMarker,
stMargin, 0, stMargin.length, drawAll);
} else {
- // if we're displaying annotation lines, color the margin to match the associated document line
+ // if we're displaying annotation lines, colour the margin to match the associated document line
const int annotationLines = model.pdoc->AnnotationLines(lineDoc);
if (annotationLines && (visibleLine > lastVisibleLine - annotationLines)) {
surface->FillRectangle(rcMarker, vs.styles[stMargin.StyleAt(0) + vs.marginStyleOffset].back);