HTML Editor Project
Posted on 2001-06-16
I had an idea for an html editor project that would add closing tags when you enter the opening tags.
You know, you type <center> and the program changes it to <center> | </center> with the cursor positioned to the right of the opening tab so you can just keep on typing.
I did not get far before I realized I don't know how to proceed. (Yes, I am very much a VB newbie).
Case Select or If statements won't work by themselves, because after you have the first set of tags the text is never going to be only the condition of the selection.
Is there a way to refer to individual lines of text as a new condition, if you know what I mean?