Sorry, I'm working on an HTML editing program and fixing a lot of minor bugs.

Can anyone tell me how to insert a character into a text box at the position of the blinking cursor?

I can guarantee I'll be needing a few other questions answered, so keep looking please.