Set isAdditive and isSubtractive based on the given text representing the last input.
See Implementation
Set isAdditive and isSubtractive based on the given text representing the last input.