Merge "APIs for text editor." into devel/master