diff options
author | Neil <nyamatongwe@gmail.com> | 2019-05-11 07:25:22 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-05-11 07:25:22 +1000 |
commit | d50a8576e70ab84af42fb0bbac56c2d74ddc1898 (patch) | |
tree | 85fc655f55e995b339aa351468d7594a0a79e5a4 /src/ViewStyle.cxx | |
parent | a42f10de51676ccc8e8a9ce48546d633ff5a256e (diff) | |
download | scintilla-mirror-d50a8576e70ab84af42fb0bbac56c2d74ddc1898.tar.gz |
Backport: Feature [feature-requests:#1283]. Standardise spelling - "color" -> "colour".
Backport of changeset 7498:7dd63f4402ae.
Diffstat (limited to 'src/ViewStyle.cxx')
-rw-r--r-- | src/ViewStyle.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx index a4535abca..d6fd42a6d 100644 --- a/src/ViewStyle.cxx +++ b/src/ViewStyle.cxx @@ -440,12 +440,12 @@ bool ViewStyle::IsLineFrameOpaque(bool caretActive, bool lineContainsCaret) cons (caretLineAlpha == SC_ALPHA_NOALPHA) && lineContainsCaret; } -// See if something overrides the line background color: Either if caret is on the line -// and background color is set for that, or if a marker is defined that forces its background -// color onto the line, or if a marker is defined but has no selection margin in which to +// See if something overrides the line background colour: Either if caret is on the line +// and background colour is set for that, or if a marker is defined that forces its background +// colour onto the line, or if a marker is defined but has no selection margin in which to // display itself (as long as it's not an SC_MARK_EMPTY marker). These are checked in order // with the earlier taking precedence. When multiple markers cause background override, -// the color for the highest numbered one is used. +// the colour for the highest numbered one is used. ColourOptional ViewStyle::Background(int marksOfLine, bool caretActive, bool lineContainsCaret) const { ColourOptional background; if (!caretLineFrame && (caretActive || alwaysShowCaretLineBackground) && showCaretLineBackground && |