Revision b2423e3...
Go back to digest for 9th December 2012Optimization in Educational
Andreas Cord-Landwehr committed changes in [rocs/next] /:
Removed code duplication and added features to ValueModifier
This commit uses templates to reduce code duplication in
ValueModifier. enumerate() now supports being given a base string that
it will append its numbers to. There is also a new method --
enumerateAlpha() -- which will take a string and use its lexiographic
incrementation instead of a number. enumerateAlpha also supports a
base string.
This patch was created by andromeda-galaxy within GCI 2012,
thanks a lot!
File Changes
Modified 4 files
- RocsCore/Modifiers/ValueModifier.cpp
- RocsCore/Modifiers/ValueModifier.h
- VisualEditor/Actions/AssignValueAction.cpp
- VisualEditor/Tools/AssignValues/AssignValuesWidget.cpp
4 files changed in total