substitution analysis: Added fast editing of substitutions