Thanks for your reply.
The pattern appears correctly on the wall face but incorrectly around the sides of the window opening. The texture editor does not allow separate editing of these two surfaces.
Just duplicate that wall brick and call it "window opening brick".
It's like a different material, (actually it is a different material),
that has a different position for the same bricks. So with the
duplicate, only change that position. And you need to "paint"
that window opening brick where you want it.
Thanks again. I have never used the paint function!
I remember on the early realases of Revit, this issue never used to be a problem.
I appreciate your help.