im trying to make a small html editor
and im trying to get it to put tags around selected text, how would this be done??
if this cant be done is there a way to add text to where the keyboard curser is?
like
<html>
| (code will be added here)
</html> (and not here)
i use TextBox.AppendText("<b>text</b>") and it goes right at the bottom, anyone know?
and im trying to get it to put tags around selected text, how would this be done??
if this cant be done is there a way to add text to where the keyboard curser is?
like
<html>
| (code will be added here)
</html> (and not here)
i use TextBox.AppendText("<b>text</b>") and it goes right at the bottom, anyone know?