Added support for editing multi-lined text