preliminary support for editing text