freesoft_2000 9 Practically a Master Poster

Hi everyone,

I have a question about carets. I have a textarea and want to be able to get the line number that the caret position is currently on. The caret listener seems to only have the getDot() position function but nothing about the the line number of the textarea. By line number i mean the row number that the caret is currently on in the textarea. Is there a way that i can implement this function?

I hope someone can help me with this

Thank You

Yours Sincerely

Richard West

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.