Edit search distinct and edit span colorize