diff options
author | Neil <nyamatongwe@gmail.com> | 2019-06-22 11:37:23 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-06-22 11:37:23 +1000 |
commit | dd4e7804282ca821f1a82cbe9b0068cd675295ff (patch) | |
tree | 01d4c00a47a382e42136a7cdde7e0ccdbd36af48 /src/Decoration.cxx | |
parent | 08b7fa503f5cf22000e83769578939a3d03cc592 (diff) | |
download | scintilla-mirror-dd4e7804282ca821f1a82cbe9b0068cd675295ff.tar.gz |
Backport: Feature [feature-requests:#1297] Update to use INDICATOR_ instead of INDIC_ as
INDIC_ is also used for indicator styles.
Backport of changeset 7594:190079cd334f.
Diffstat (limited to 'src/Decoration.cxx')
-rw-r--r-- | src/Decoration.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Decoration.cxx b/src/Decoration.cxx index 104f75ae2..8d60d8935 100644 --- a/src/Decoration.cxx +++ b/src/Decoration.cxx @@ -228,7 +228,7 @@ template <typename POS> void DecorationList<POS>::DeleteLexerDecorations() { decorationList.erase(std::remove_if(decorationList.begin(), decorationList.end(), [](const std::unique_ptr<Decoration<POS>> &deco) { - return deco->Indicator() < INDIC_CONTAINER; + return deco->Indicator() < INDICATOR_CONTAINER ; }), decorationList.end()); current = nullptr; SetView(); @@ -259,7 +259,7 @@ int DecorationList<POS>::AllOnFor(Sci::Position position) const { int mask = 0; for (const std::unique_ptr<Decoration<POS>> &deco : decorationList) { if (deco->rs.ValueAt(static_cast<POS>(position))) { - if (deco->Indicator() < INDIC_IME) { + if (deco->Indicator() < INDICATOR_IME) { mask |= 1 << deco->Indicator(); } } |