adds basic text editing to views