
Rich Edit - detect number of last line?
Hi there:
I am working with a Rich Edit and I would like to be able to insert text at
the front of each line of existing text. For example:
The quick brown fox
jumped over
the lazy dog
would become:
xxxThe quick brown fox
xxxjumped over
xxxthe lazy dog
I had thought that a Do Loop might accomplish this but I need to be able to
detect the last line of text in the Rich Edit, i.e. the last line's number
(in the example above I suppose either 3 or 4).
Any ideas would be much appreciated.
Thanks,
I-yun