mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
use Task::getAnnotations to get annotatoins
This commit is contained in:
parent
70f83b34ef
commit
9f149a7f35
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue