UDAs
- Orphaned UDA name/value pairs show up in the 'info' report, but with the name listed as '[name value]'. The brackets indicate that the data is not modifiable.
This commit is contained in:
@@ -352,6 +352,16 @@ int CmdInfo::execute (std::string& output)
|
||||
}
|
||||
}
|
||||
|
||||
// Show any orphaned UDAs, which are identified by not being represented in
|
||||
// the context.columns map.
|
||||
for (att = all.begin (); att != all.end (); ++att)
|
||||
if (context.columns.find (*att) == context.columns.end ())
|
||||
{
|
||||
row = view.addRow ();
|
||||
view.set (row, 0, "[" + *att);
|
||||
view.set (row, 1, task->get (*att) + "]");
|
||||
}
|
||||
|
||||
// Create a second table, containing undo log change details.
|
||||
ViewText journal;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user