+ Task now supports both a 'side' and 'diff' style of undo.
+ Undo now observes the 'color.undo.before' and 'color.undo.after'
  configuration variables.
This commit is contained in:
Paul Beckingham 2010-07-03 15:50:46 -04:00
parent 724e9b8113
commit d00b57ec65
8 changed files with 261 additions and 74 deletions

View file

@ -50,6 +50,7 @@ static const char* internalNames[] =
"limit",
"status",
"description",
// Note that annotations are not listed.
};
static const char* modifiableNames[] =
@ -758,6 +759,19 @@ int Att::value_int () const
return atoi (mValue.c_str ());
}
////////////////////////////////////////////////////////////////////////////////
void Att::allNames (std::vector <std::string>& all)
{
all.clear ();
unsigned int i;
for (i = 0; i < NUM_INTERNAL_NAMES; ++i)
all.push_back (internalNames[i]);
for (i = 0; i < NUM_MODIFIABLE_NAMES; ++i)
all.push_back (modifiableNames[i]);
}
////////////////////////////////////////////////////////////////////////////////
void Att::value_int (int value)
{