rex code word wrap