one time i was able to know sort of count the number of lines in a text box. well initially, the script only counts the number of lines of text not shown in a text box, but i think u can modify it if u just make the text box show only one line of code.
i'll go get it after work, though coz my boss want to see my weekly progress presentation. i'll post it here if nobody has yet or i'll just email it to you if u like.
biggie