use Task::getAnnotations to get annotatoins
This commit is contained in:
committed by
Tomas Babej
parent
70f83b34ef
commit
9f149a7f35
@@ -189,10 +189,9 @@ static void colorizeKeyword (Task& task, const std::string& rule, const Color& b
|
||||
// first match.
|
||||
else
|
||||
{
|
||||
for (const auto& att : task.data_removeme ())
|
||||
for (const auto& att : task.getAnnotations ())
|
||||
{
|
||||
if (! att.first.compare (0, 11, "annotation_", 11) &&
|
||||
find (att.second, rule.substr (14), sensitive) != std::string::npos)
|
||||
if (find (att.second, rule.substr (14), sensitive) != std::string::npos)
|
||||
{
|
||||
applyColor (base, c, merge);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user