This command (.uno:Repeat) works only in Writer and Calc. It is always inactive (greyed out) in Basic IDE.