cyprus106
Programmer
- Apr 30, 2001
- 654
I've got a syntax highlighting code that works great with one exception. It can't highlight dynamic code. it can highlight things like <html> but it can't highlight things like <font color=green> because the color could change and it can't automatically detect that kind of thing.
With that in mind, basically here's what I cant figure out:
I need to select text in a rich edit from the beginning of a 'tag' to the end character in a tag. For example, if I ran across something that said '<font' then it would start selecting the text at the '<' and wouldn't stop until it hit it's first '>'
I tried a few different methods but didn't come up with much. I was hoping somebody around here would? Cyprus
With that in mind, basically here's what I cant figure out:
I need to select text in a rich edit from the beginning of a 'tag' to the end character in a tag. For example, if I ran across something that said '<font' then it would start selecting the text at the '<' and wouldn't stop until it hit it's first '>'
I tried a few different methods but didn't come up with much. I was hoping somebody around here would? Cyprus