[Bug 8049] Edit control text length is off by one