Hello...
I have a text field which I am using in a HTML editor program. Now i need to insert tags in the text field just like the real source code. But how do I insert tags in different lines in the text field???

For example:

this is what it should look like:
----------------------------
<html>
<head>
<title></title>

<body>

</body>

</head>
</html>

----------------------------

if i say this in a command button:
text1.text = "<html>"
text1.text = text1.text & "</html>"

but then the text field looks like this:
---------------------
<html></html>
---------------------

but i want it to look like this:
---------------------
<html>

</html>
---------------------

how do i do this?????