wrap lines and binding for buffer controlP