Added multi-line support for text scraps.