added adaptive soft line wrap.