Hi.
I have a question/recommendation,
Is there or is there a way to emulate this tool that switch colors with a certain pattern?
There is a pattern mode in the bucket tool. I am not sure if that's exactly what you wanted but it does replace a specific colour with a selected pattern.