Text editor integration

Text editor integration complete.