added infix search to windowgotoprompt