Here are some videos I made on how to make your own useful Text Editor. It's clear and visible codes to see. Here are the links:

Part #1:


Part #2:


View my other tutorial on creating an auto-talker!