I’m making an software the place the person can carry out a number of replacements after each other (eg. change all “is” with “was”, all “will” to “would have”).
The issue I’m dealing with UX-wise is methods to signify the adjustments that can occur within the authentic textual content. I used to be fascinated about highlighting the pending adjustments within the authentic textual content, as if highlighting textual content. Every substitute would get its personal shade.
What I’m anxious about is that the person would be capable of change all “to” with “an” after which all “anmato” with “pineapple”, then “tomato” would first turn out to be “anmato” after which “pineapple” (dangerous instance, I do know).
Adjustments would be capable of overlap and thus highlighting would turn out to be problematic. I’m able to determine an algorithm that will spotlight these each with the colour of the primary substitute, and the colour of the second substitute, mixing the colours the place they overlap.
I am unsure if that is the easiest way to implement this, so I believed I might ask you guys if you already know of a greater means.