From dd4e7804282ca821f1a82cbe9b0068cd675295ff Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 22 Jun 2019 11:37:23 +1000 Subject: 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. --- src/Decoration.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Decoration.cxx') 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 void DecorationList::DeleteLexerDecorations() { decorationList.erase(std::remove_if(decorationList.begin(), decorationList.end(), [](const std::unique_ptr> &deco) { - return deco->Indicator() < INDIC_CONTAINER; + return deco->Indicator() < INDICATOR_CONTAINER ; }), decorationList.end()); current = nullptr; SetView(); @@ -259,7 +259,7 @@ int DecorationList::AllOnFor(Sci::Position position) const { int mask = 0; for (const std::unique_ptr> &deco : decorationList) { if (deco->rs.ValueAt(static_cast(position))) { - if (deco->Indicator() < INDIC_IME) { + if (deco->Indicator() < INDICATOR_IME) { mask |= 1 << deco->Indicator(); } } -- cgit v1.2.3